12345678910111213141516171819202122232425262728293031323334353637383940 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${ADK_TOPDIR}/rules.mk
- PKG_NAME:= libnl
- PKG_VERSION:= 3.2.25
- PKG_RELEASE:= 1
- PKG_HASH:= 8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5
- PKG_DESCR:= netlink library
- PKG_SECTION:= libs/net
- PKG_BUILDDEP:= m4-host flex-host
- PKG_URL:= http://www.infradead.org/~tgr/libnl/
- PKG_SITES:= http://www.infradead.org/~tgr/libnl/files/
- PKG_NOPARALLEL:= 1
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- include ${ADK_TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- libnl-install:
- ${INSTALL_DIR} ${IDIR_LIBNL}/etc/libnl
- $(CP) ${WRKINST}/etc/libnl/* ${IDIR_LIBNL}/etc/libnl
- ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnl-3.so* ${IDIR_LIBNL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnl-genl-3.so* ${IDIR_LIBNL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnl-cli-3.so* ${IDIR_LIBNL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnl-route-3.so* ${IDIR_LIBNL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libnl-nf-3.so* ${IDIR_LIBNL}/usr/lib
- ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
- $(CP) ${WRKINST}/usr/lib/libnl/cli/cls/*.so \
- ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
- ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
- $(CP) ${WRKINST}/usr/lib/libnl/cli/qdisc/*.so \
- ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|