3 Commits

Author SHA1 Message Date
Jay Larson
cb9eda4b42 Moved to new slp format 2020-08-21 10:19:42 -05:00
Jay Larson
20953f6dc6 Removed bin/sh (now provided by dash) 2017-11-26 13:46:42 -06:00
Jay Larson
0164d6bc36 The following changes were made:
* changed libncurses dependency to ncurses
  * changed libreadline dependency to readline
2017-03-30 16:07:39 -05:00
2 changed files with 6 additions and 8 deletions

View File

@@ -8,13 +8,14 @@
# 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 = glibc,libcap,libncurses,libreadline 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 = 5 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 \
@@ -67,9 +68,6 @@ $(ROOT): $(SRCDIR)/bash
fi fi
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
if [ ! -f $(ROOT)/bin/sh ]; then \
ln -sv bash $(ROOT)/bin/sh; \
fi && \
rm -v $(ROOT)/usr/share/info/dir && \ rm -v $(ROOT)/usr/share/info/dir && \
gzip $(ROOT)/usr/share/doc/*/{*.html,CHANGES} gzip $(ROOT)/usr/share/doc/*/{*.html,CHANGES}
@@ -79,7 +77,7 @@ test: $(ROOT)
clean: clean:
@rm -rvf $(ROOT) \ @rm -rvf $(ROOT) \
$(SNAPINFO) \ $(SLINFO) \
$(MANIFEST) \ $(MANIFEST) \
$(FILES) \ $(FILES) \
$(SRCDIR) $(SRCDIR)