summaryrefslogtreecommitdiff
path: root/package/kmod
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-10 18:31:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-10 18:31:28 +0100
commit9f7250f4f4f15eb9c261641ee83cae88d5b05684 (patch)
tree05e941ef13d29a0caf339f98090290ae354f1492 /package/kmod
parent0d1648364f45bf64f2e968111a3391c70732371e (diff)
another round of compile fixes for raspberry release build
Diffstat (limited to 'package/kmod')
-rw-r--r--package/kmod/Makefile9
-rw-r--r--package/kmod/patches/patch-libkmod_libkmod_pc_in13
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