Moved to new slp format
This commit is contained in:
9
Makefile
9
Makefile
@@ -11,10 +11,11 @@
|
|||||||
DEPENDS = glibc,libcap,ncurses,readline
|
DEPENDS = glibc,libcap,ncurses,readline
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = http://www.gnu.org/software/bash/
|
URL = http://www.gnu.org/software/bash/
|
||||||
|
REPO = main
|
||||||
BRIEF = Bash is the GNU Project\'s Bourne Again SHell
|
BRIEF = Bash is the GNU Project\'s Bourne Again SHell
|
||||||
DESC = Bash is the GNU Project\'s Bourne Again SHell, a complete \
|
DESC = Bash is the GNU Project\'s Bourne Again SHell, a complete \
|
||||||
implementation of the POSIX shell spec
|
implementation of the POSIX shell spec
|
||||||
SNAPVER = 7
|
SLVER = 8
|
||||||
|
|
||||||
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')
|
||||||
@@ -23,9 +24,9 @@ PATCHDIR := $(PWD)/SRC/patches
|
|||||||
PATCHLVL := $(shell cat $(PATCHDIR)/*.patch|grep '\#define PATCHLEVEL'|\
|
PATCHLVL := $(shell cat $(PATCHDIR)/*.patch|grep '\#define PATCHLEVEL'|\
|
||||||
tail -1|awk '{print $$NF}')
|
tail -1|awk '{print $$NF}')
|
||||||
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//'|\
|
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//'|\
|
||||||
sed 's/[0-9]*$$/$(PATCHLVL)/')-$(SNAPVER)
|
sed 's/[0-9]*$$/$(PATCHLVL)/')-$(SLVER)
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/sl/Makefile.snaplinux
|
||||||
|
|
||||||
$(SRCDIR)/configure: $(ARCHIVE)
|
$(SRCDIR)/configure: $(ARCHIVE)
|
||||||
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
||||||
@@ -76,7 +77,7 @@ test: $(ROOT)
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
$(SNAPINFO) \
|
$(SLINFO) \
|
||||||
$(MANIFEST) \
|
$(MANIFEST) \
|
||||||
$(FILES) \
|
$(FILES) \
|
||||||
$(SRCDIR)
|
$(SRCDIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user