summaryrefslogtreecommitdiff
path: root/package/libnl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libnl/Makefile')
-rw-r--r--package/libnl/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index ab8be464e..6b9d7be87 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -4,12 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libnl
-PKG_VERSION:= 1.1
+PKG_VERSION:= 2.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= ae970ccd9144e132b68664f98e7ceeb1
+PKG_MD5SUM:= 6aaf1e9802a17a7d702bb0638044ffa7
PKG_DESCR:= Netlink library
PKG_SECTION:= libs
-PKG_SITES:= http://downloads.openwrt.org/sources/
+PKG_URL:= http://www.infradead.org/~tgr/libnl/
+PKG_SITES:= http://www.infradead.org/~tgr/libnl/files/
PKG_SUBPKGS:= LIBNL LIBNL_DEV
PKGSD_LIBNL_DEV:= header files for netlink library
@@ -17,10 +18,10 @@ PKGSC_LIBNL_DEV:= devel
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBNL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBNL_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNL_DEV},${PKGSC_LIBNL_DEV}))
+$(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNL_DEV,libnl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNL_DEV},${PKGSC_LIBNL_DEV}))
-post-install:
+libnl-install:
${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib
${CP} ${WRKINST}/usr/lib/libnl.so* ${IDIR_LIBNL}/usr/lib