Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= libcli
  5. PKG_VERSION:= 1.9.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b917617d21b90db214971efe64a33416
  8. PKG_DESCR:= Cisco-like command-line interface library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://code.google.com/p/libcli
  11. PKG_SITES:= http://libcli.googlecode.com/files/
  12. PKG_SUBPKGS:= LIBCLI LIBCLI_DEV
  13. PKGSD_LIBCLI_DEV:= command-line interface headers
  14. PKGSC_LIBCLI_DEV:= devel
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBCLI,libcli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBCLI_DEV,libcli-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBCLI_DEV},${PKGSC_LIBCLI_DEV}))
  18. CONFIG_STYLE:= manual
  19. libcli-install:
  20. ${INSTALL_DIR} ${IDIR_LIBCLI}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libcli.so* ${IDIR_LIBCLI}/usr/lib
  22. libcli-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBCLI_DEV}/usr/include
  24. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBCLI_DEV}/usr/include
  25. include ${TOPDIR}/mk/pkg-bottom.mk