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:
9
Makefile
9
Makefile
@@ -8,19 +8,20 @@
|
|||||||
# 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,xz,zlib
|
DEPENDS = glibc
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/about/
|
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 \
|
DESC = kmod is a set of tools to handle common tasks with Linux kernel \
|
||||||
modules like insert, remove, list, check properties, resolve dependencies \
|
modules like insert, remove, list, check properties, resolve dependencies \
|
||||||
and aliases.
|
and aliases.
|
||||||
SNAPVER = sr1
|
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')
|
||||||
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
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
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
@@ -50,8 +51,6 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
|
|||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-rootlibdir=/lib \
|
--with-rootlibdir=/lib \
|
||||||
--with-xz \
|
|
||||||
--with-zlib \
|
|
||||||
--build=x86_64-snap-linux-gnu \
|
--build=x86_64-snap-linux-gnu \
|
||||||
--host=x86_64-snap-linux-gnu \
|
--host=x86_64-snap-linux-gnu \
|
||||||
--target=x86_64-snap-linux-gnu
|
--target=x86_64-snap-linux-gnu
|
||||||
|
|||||||
Reference in New Issue
Block a user