1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= gdbm
  5. PKG_VERSION:= 1.8.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1d1b1d5c0245b1c00aff92da751e9aa1
  8. PKG_DESCR:= disk file format database
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.gnu.org/software/gdbm/
  11. PKG_SITES:= ${MASTER_SITE_GNU:=gdbm/}
  12. PKG_SUBPKGS:= LIBGDBM LIBGDBM_DEV
  13. PKGSC_LIBGDBM_DEV:= devel
  14. PKGSD_LIBGDBM_DEV:= libgdbm headers
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBGDBM_DEV,libgdbm-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGDBM_DEV},${PKGSC_LIBGDBM_DEV}))
  18. XAKE_FLAGS+= BINOWN=`id -u` \
  19. BINGRP=`id -g` \
  20. INSTALL_ROOT="${WRKINST}"
  21. libgdbm-install:
  22. ${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
  24. libgdbm-dev-install:
  25. ${INSTALL_DIR} ${IDIR_LIBGDBM_DEV}/usr/include
  26. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBGDBM_DEV}/usr/include
  27. include ${TOPDIR}/mk/pkg-bottom.mk