Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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_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. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBNL,libnl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. libnl-install:
  18. ${INSTALL_DIR} ${IDIR_LIBNL}/etc/libnl
  19. $(CP) ${WRKINST}/etc/libnl/* ${IDIR_LIBNL}/etc/libnl
  20. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libnl-3.so* ${IDIR_LIBNL}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libnl-genl-3.so* ${IDIR_LIBNL}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libnl-cli-3.so* ${IDIR_LIBNL}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libnl-route-3.so* ${IDIR_LIBNL}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libnl-nf-3.so* ${IDIR_LIBNL}/usr/lib
  26. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  27. $(CP) ${WRKINST}/usr/lib/libnl/cli/cls/*.so \
  28. ${IDIR_LIBNL}/usr/lib/libnl/cli/cls
  29. ${INSTALL_DIR} ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  30. $(CP) ${WRKINST}/usr/lib/libnl/cli/qdisc/*.so \
  31. ${IDIR_LIBNL}/usr/lib/libnl/cli/qdisc
  32. include ${TOPDIR}/mk/pkg-bottom.mk