Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:= 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:= 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_SUBPKGS:= LIBDB LIBDB_DEV
  14. PKGSC_LIBDB_DEV:= devel
  15. PKGSD_LIBDB_DEV:= libdb headers
  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}))
  19. $(eval $(call PKG_template,LIBDB_DEV,libdb-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBDB_DEV},${PKGSC_LIBDB_DEV}))
  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. --disable-posixmutexes \
  28. --disable-uimutexes \
  29. --disable-tcl \
  30. --disable-rpc \
  31. --disable-compat185 \
  32. --disable-statistics \
  33. --disable-replication \
  34. --disable-cryptography \
  35. --disable-queue \
  36. --with-mutex=UNIX/fcntl
  37. libdb-install:
  38. ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
  39. ${CP} ${WRKINST}/usr/lib/libdb*.so ${IDIR_LIBDB}/usr/lib
  40. libdb-dev-install:
  41. ${INSTALL_DIR} ${IDIR_LIBDB_DEV}/usr/include
  42. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBDB_DEV}/usr/include
  43. include ${TOPDIR}/mk/pkg-bottom.mk