Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= libgpg-error
  5. PKG_VERSION:= 1.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 521b98aa9395e7eaf0ef2236233a0796
  8. PKG_DESCR:= a helper library for common error codes and descriptions
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.gnupg.org/
  11. PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/libgpg-error/
  12. PKG_SUBPKGS:= LIBGPG_ERROR LIBGPG_ERROR_DEV
  13. PKGSD_LIBGPG_ERROR_DEV:=common error code and description headers
  14. PKGSC_LIBGPG_ERROR_DEV:=devel
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBGPG_ERROR,libgpg-error,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBGPG_ERROR_DEV,libgpg-error-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGPG_ERROR_DEV},${PKGSC_LIBGPG_ERROR_DEV}))
  19. libgpg-error-install:
  20. ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libgpg-error.so* \
  22. ${IDIR_LIBGPG_ERROR}/usr/lib
  23. libgpg-error-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR_DEV}/usr/include
  25. ${CP} ${WRKINST}/usr/include/gpg-error.h \
  26. ${IDIR_LIBGPG_ERROR_DEV}/usr/include
  27. ${INSTALL_DIR} ${IDIR_LIBGPG_ERROR_DEV}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/gpg-error-config \
  29. ${IDIR_LIBGPG_ERROR_DEV}/usr/bin
  30. include ${TOPDIR}/mk/pkg-bottom.mk