The following changes were made to Makefile:
* added BRIEF * moved to new version scheme
This commit is contained in:
10
Makefile
10
Makefile
@@ -8,17 +8,18 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = acl,attr,glibc
|
DEPENDS = libacl,libattr,glibc
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = https://www.gnu.org/software/sed/
|
URL = https://www.gnu.org/software/sed/
|
||||||
|
BRIEF = The stream editor
|
||||||
DESC = sed (stream editor) is a non-interactive command-line text editor
|
DESC = sed (stream editor) is a non-interactive command-line text editor
|
||||||
SNAPVER = sr1
|
SNAPVER = 2
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER)
|
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
@@ -64,8 +65,7 @@ $(ROOT): $(SRCDIR)/sed/sed
|
|||||||
rm -v $(ROOT)/usr/share/info/dir
|
rm -v $(ROOT)/usr/share/info/dir
|
||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
@cd $(SRCDIR); \
|
@cd $(SRCDIR) && make check
|
||||||
make check
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
|
|||||||
Reference in New Issue
Block a user