The following changes were made to Makefile:

* removed dependency for xz and zlib
  * added BRIEF
  * moved to new version scheme
This commit is contained in:
2017-03-24 09:09:33 -05:00
parent 6dddb1daf4
commit cb39d79bc4

View File

@@ -8,19 +8,20 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = glibc,xz,zlib
DEPENDS = glibc
ARCH = x86_64
URL = http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/about/
BRIEF = Kernel module tools
DESC = kmod is a set of tools to handle common tasks with Linux kernel \
modules like insert, remove, list, check properties, resolve dependencies \
and aliases.
SNAPVER = sr1
SNAPVER = 2
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/^-//')-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux
@@ -50,8 +51,6 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
--with-xz \
--with-zlib \
--build=x86_64-snap-linux-gnu \
--host=x86_64-snap-linux-gnu \
--target=x86_64-snap-linux-gnu