diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-17 15:29:05 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-17 15:29:05 +0200 |
| commit | b2e4bbd4e62982852b8a7da8f618d01d2013641e (patch) | |
| tree | 968e7998c78e750162e60c747ab039f78d2f8289 /package/libnl/Makefile | |
| parent | 1a2a22729ff0256725a3561e46f465efc18801f7 (diff) | |
| parent | d6aaf0be5bfa8e5944d9ae44cf175f9388564ac6 (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts:
package/binutils/Makefile
Diffstat (limited to 'package/libnl/Makefile')
| -rw-r--r-- | package/libnl/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile index 1cbe9f093..d7021a844 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -11,12 +11,25 @@ PKG_DESCR:= Netlink library PKG_SECTION:= libs PKG_SITES:= http://downloads.openwrt.org/sources/ +PKG_SUBPKGS:= LIBNL LIBNL_DEV +PKGSD_LIBNL_DEV:= header files for netlink library +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})) + +SUB_INSTALLS-y:= +SUB_INSTALLS-m:= +SUB_INSTALLS-${ADK_PACKAGE_LIBNL_DEV}+= libnl-dev-install -post-install: +post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y} ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib ${CP} ${WRKINST}/usr/lib/libnl.so* ${IDIR_LIBNL}/usr/lib +libnl-dev-install: + ${INSTALL_DIR} ${IDIR_LIBNL_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBNL_DEV}/usr/include + include ${TOPDIR}/mk/pkg-bottom.mk |
