Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libnl
  5. PKG_VERSION:= 3.2.22
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 2e1c889494d274aca24ce5f6a748e66e
  8. PKG_DESCR:= Netlink library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.infradead.org/~tgr/libnl/
  11. PKG_SITES:= http://www.infradead.org/~tgr/libnl/files/
  12. PKG_NOPARALLEL:= 1
  13. PKG_OPTS:= dev
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. libnl-install:
  17. ${INSTALL_DIR} ${IDIR_LIBNL}/etc/libnl
  18. $(CP) ${WRKINST}/etc/libnl/* ${IDIR_LIBNL}/etc/libnl
  19. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libnl-3.so* ${IDIR_LIBNL}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libnl-genl-3.so* ${IDIR_LIBNL}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libnl-cli-3.so* ${IDIR_LIBNL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libnl-route-3.so* ${IDIR_LIBNL}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libnl-nf-3.so* ${IDIR_LIBNL}/usr/lib
  25. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  26. $(CP) ${WRKINST}/usr/lib/libnl/cli/cls/*.so \
  27. ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  28. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  29. $(CP) ${WRKINST}/usr/lib/libnl/cli/qdisc/*.so \
  30. ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  31. include ${TOPDIR}/mk/pkg-bottom.mk