Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libnl
  5. PKG_VERSION:= 3.2.25
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5
  8. PKG_DESCR:= netlink library
  9. PKG_SECTION:= libs/net
  10. PKG_BUILDDEP:= m4-host flex-host
  11. PKG_URL:= http://www.infradead.org/~tgr/libnl/
  12. PKG_SITES:= http://www.infradead.org/~tgr/libnl/files/
  13. PKG_NOPARALLEL:= 1
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. libnl-install:
  19. ${INSTALL_DIR} ${IDIR_LIBNL}/etc/libnl
  20. $(CP) ${WRKINST}/etc/libnl/* ${IDIR_LIBNL}/etc/libnl
  21. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libnl-3.so* ${IDIR_LIBNL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libnl-genl-3.so* ${IDIR_LIBNL}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libnl-cli-3.so* ${IDIR_LIBNL}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libnl-route-3.so* ${IDIR_LIBNL}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libnl-nf-3.so* ${IDIR_LIBNL}/usr/lib
  27. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  28. $(CP) ${WRKINST}/usr/lib/libnl/cli/cls/*.so \
  29. ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  30. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  31. $(CP) ${WRKINST}/usr/lib/libnl/cli/qdisc/*.so \
  32. ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk