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:= 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. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. $(eval $(call PKG_template,LIBGDBM_DEV,libgdbm-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. XAKE_FLAGS+= BINOWN=`id -u` \
  17. BINGRP=`id -g` \
  18. INSTALL_ROOT="${WRKINST}"
  19. libgdbm-install:
  20. ${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
  22. libgdbm-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBGDBM_DEV}/usr/include
  24. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBGDBM_DEV}/usr/include
  25. include ${TOPDIR}/mk/pkg-bottom.mk