2 Commits

Author SHA1 Message Date
Jay Larson
6db81d7f10 Moved to slp format 2020-08-26 16:45:59 -05:00
Jay Larson
17bef85af7 The following changes were made:
* changed libncurses dependency to ncurses
  * changed libreadline dependency to readline
2017-03-30 16:05:04 -05:00
2 changed files with 6 additions and 5 deletions

View File

@@ -8,22 +8,23 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = glibc,gmp,libncurses,libreadline,mpfr
DEPENDS = dash,glibc,gmp,mpfr,ncurses,readline
ARCH = x86_64
URL = https://www.gnu.org/software/gawk/
REPO = core
BRIEF = GNU awk
DESC = The awk utility interprets a special-purpose programming language that \
makes it possible to handle simple data-reformatting jobs with just a few \
lines of code.
SNAPVER = 3
SLVER = 5
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
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/^-//')-$(SLVER)
include /usr/share/snap/Makefile.snaplinux
include /usr/share/sl/Makefile.snaplinux
$(SRCDIR)/configure: $(ARCHIVE)
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
@@ -71,7 +72,7 @@ test: $(ROOT)
clean:
@rm -rvf $(ROOT) \
$(SNAPINFO) \
$(SLINFO) \
$(MANIFEST) \
$(FILES) \
$(SRCDIR)