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