Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8142fcd3ce |
6
Makefile
6
Makefile
@@ -15,7 +15,7 @@ export URL = https://www.gnu.org/software/ncurses/
|
|||||||
BRIEF = Library and tools for terminal handling
|
BRIEF = Library and tools for terminal handling
|
||||||
DESC = The Ncurses (new curses) library is a free software emulation of \
|
DESC = The Ncurses (new curses) library is a free software emulation of \
|
||||||
curses in System V Release 4.0, and more.
|
curses in System V Release 4.0, and more.
|
||||||
SNAPVER = 1
|
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')
|
||||||
@@ -27,8 +27,6 @@ export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \
|
|||||||
DEV := $(PWD)/ncurses-dev
|
DEV := $(PWD)/ncurses-dev
|
||||||
DEVROOT := $(DEV)/ROOT
|
DEVROOT := $(DEV)/ROOT
|
||||||
|
|
||||||
MAKE = make
|
|
||||||
MAKEINST = make install
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
$(SRCDIR)/configure: $(ARCHIVE)
|
$(SRCDIR)/configure: $(ARCHIVE)
|
||||||
@@ -100,7 +98,7 @@ $(ROOT): $(SRCDIR)/objects/cursesmain.o
|
|||||||
mkdir -p $$path; \
|
mkdir -p $$path; \
|
||||||
mv $$file $$path; \
|
mv $$file $$path; \
|
||||||
done && \
|
done && \
|
||||||
cp -v -R $(SRCDIR)/doc/* $(DEVROOT)/usr/share/doc/ncurses
|
cp -v -R $(SRCDIR)/doc/* $(DEVROOT)/usr/share/doc/ncurses && \
|
||||||
find $(ROOT) -type d -empty -delete && \
|
find $(ROOT) -type d -empty -delete && \
|
||||||
cd $(DEV) && make -f ../Makefile.ncurses-dev && mv *.snap ../
|
cd $(DEV) && make -f ../Makefile.ncurses-dev && mv *.snap ../
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user