summaryrefslogtreecommitdiff
path: root/package/libnfnetlink/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
commit26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch)
tree22f152f92d6c1e9c325583f46278a385ffefd38b /package/libnfnetlink/Makefile
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
another round of native compile fixes
Diffstat (limited to 'package/libnfnetlink/Makefile')
-rw-r--r--package/libnfnetlink/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/package/libnfnetlink/Makefile b/package/libnfnetlink/Makefile
index dbad956b5..3cffa3e19 100644
--- a/package/libnfnetlink/Makefile
+++ b/package/libnfnetlink/Makefile
@@ -12,14 +12,24 @@ PKG_SECTION:= libs
PKG_URL:= http://www.netfilter.org/projects/libnfnetlink/
PKG_SITES:= http://www.netfilter.org/projects/libnfnetlink/files/
+PKG_SUBPKGS:= LIBNFNETLINK LIBNFNETLINK_DEV
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBNFNETLINK,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNFNETLINK,libnfnetlink,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNFNETLINK_DEV,libnfnetlink-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-post-install:
+libnfnetlink-install:
$(INSTALL_DIR) $(IDIR_LIBNFNETLINK)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libnfnetlink.so* $(IDIR_LIBNFNETLINK)/usr/lib/
+ $(CP) $(WRKINST)/usr/lib/libnfnetlink.so* $(IDIR_LIBNFNETLINK)/usr/lib
+
+libnfnetlink-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBNFNETLINK_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* $(IDIR_LIBNFNETLINK_DEV)/usr/include
+ $(INSTALL_DIR) $(IDIR_LIBNFNETLINK_DEV)/usr/lib/pkgconfig
+ ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBNFNETLINK_DEV)/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk