Makefile 912 B

12345678910111213141516171819202122232425262728293031
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= gdbm
  5. PKG_VERSION:= 1.8.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 1d1b1d5c0245b1c00aff92da751e9aa1
  8. PKG_DESCR:= disk file format database
  9. PKG_SECTION:= libs/db
  10. PKG_URL:= http://www.gnu.org/software/gdbm/
  11. PKG_SITES:= ${MASTER_SITE_GNU:=gdbm/}
  12. PKG_LIBNAME:= libgdbm
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. XAKE_FLAGS+= BINOWN=`id -u` \
  18. BINGRP=`id -g` \
  19. INSTALL_ROOT="${WRKINST}"
  20. libgdbm-install:
  21. ${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk