diff options
Diffstat (limited to 'package/kmod')
-rw-r--r-- | package/kmod/Makefile | 9 | ||||
-rw-r--r-- | package/kmod/patches/patch-libkmod_libkmod_pc_in | 13 |
2 files changed, 19 insertions, 3 deletions
diff --git a/package/kmod/Makefile b/package/kmod/Makefile index 2baf63a97..944f47599 100644 --- a/package/kmod/Makefile +++ b/package/kmod/Makefile @@ -4,13 +4,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:= kmod -PKG_VERSION:= 5 +PKG_VERSION:= 15 PKG_RELEASE:= 1 -PKG_MD5SUM:= b271c2ec54aba1c67bda63c8579d8c15 +PKG_MD5SUM:= d03372179ed2cfa0c52b6672cf438901 PKG_DESCR:= kernel module loading library PKG_SECTION:= libs PKG_URL:= http://profusion.mobi/index.php -PKG_SITES:= http://packages.profusion.mobi/kmod/ +PKG_SITES:= https://www.kernel.org/pub/linux/utils/kernel/kmod/ PKG_OPTS:= dev DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz @@ -19,6 +19,9 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,KMOD,kmod,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +CONFIG_STYLE:= minimal +CONFIGURE_ARGS+= --host=${REAL_GNU_TARGET_NAME} + kmod-install: $(INSTALL_DIR) $(IDIR_KMOD)/usr/bin $(INSTALL_DIR) $(IDIR_KMOD)/usr/lib diff --git a/package/kmod/patches/patch-libkmod_libkmod_pc_in b/package/kmod/patches/patch-libkmod_libkmod_pc_in new file mode 100644 index 000000000..6f7a20bbc --- /dev/null +++ b/package/kmod/patches/patch-libkmod_libkmod_pc_in @@ -0,0 +1,13 @@ +--- kmod-15.orig/libkmod/libkmod.pc.in 2013-04-24 22:02:37.000000000 +0200 ++++ kmod-15/libkmod/libkmod.pc.in 2013-12-09 12:32:04.000000000 +0100 +@@ -1,7 +1,7 @@ + prefix=@prefix@ +-exec_prefix=@exec_prefix@ +-libdir=@libdir@ +-includedir=@includedir@ ++exec_prefix=${prefix} ++libdir=${prefix}/lib ++includedir=${prefix}/include + + Name: libkmod + Description: Library to deal with kernel modules |