Makefile 1.3 KB

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