Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_OPTS:= dev
  14. WRKBUILD= ${WRKSRC}/build_unix
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  18. CONFIGURE_PROG:= dist/configure
  19. CONFIGURE_ARGS+= --enable-smallbuild \
  20. --disable-debug_rop \
  21. --disable-debug_wop \
  22. --disable-diagnostic \
  23. --disable-java \
  24. --disable-cxx \
  25. --enable-posixmutexes \
  26. --disable-uimutexes \
  27. --disable-tcl \
  28. --disable-compat185 \
  29. --disable-statistics \
  30. --disable-replication \
  31. --disable-cryptography \
  32. --disable-queue
  33. libdb-install:
  34. ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/libdb*.so ${IDIR_LIBDB}/usr/lib
  36. include ${TOPDIR}/mk/pkg-bottom.mk