Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= db
  5. PKG_VERSION:= 5.3.21
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= ddd92a930317df92021054c03992392db9ea5cddba43bef8920d392a82114fb8
  8. PKG_DESCR:= disk file format database which stores key/data-pairs in single files
  9. PKG_SECTION:= libs/db
  10. PKG_NEEDS:= c++
  11. PKG_URL:= http://www.oracle.com/technology/software/products/berkeley-db
  12. PKG_SITES:= http://distfiles.openadk.org/
  13. PKG_LIBNAME:= libdb
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. WRKBUILD= ${WRKSRC}/build_unix
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_PROG:= dist/configure
  20. CONFIGURE_ARGS+= --enable-smallbuild \
  21. --disable-debug_rop \
  22. --disable-debug_wop \
  23. --disable-diagnostic \
  24. --disable-java \
  25. --disable-cxx \
  26. --enable-posixmutexes \
  27. --disable-uimutexes \
  28. --disable-tcl \
  29. --disable-compat185 \
  30. --disable-statistics \
  31. --disable-replication \
  32. --disable-cryptography \
  33. --disable-queue
  34. libdb-install:
  35. ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
  36. ${CP} ${WRKINST}/usr/lib/libdb*.so* ${IDIR_LIBDB}/usr/lib
  37. include ${ADK_TOPDIR}/mk/pkg-bottom.mk