summaryrefslogtreecommitdiffstats
path: root/src/db.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.mk')
-rw-r--r--src/db.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/db.mk b/src/db.mk
new file mode 100644
index 0000000..10b249b
--- /dev/null
+++ b/src/db.mk
@@ -0,0 +1,28 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := db
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 4.8.30.NC
+$(PKG)_CHECKSUM := ff754f92ccfae2f9d3527d6d6ea43add5b852456
+$(PKG)_SUBDIR := db-$($(PKG)_VERSION)
+$(PKG)_FILE := db-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := http://download.oracle.com/berkeley-db/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ echo 'TODO: Updates for package db need to be fixed.' >&2;
+ echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)/build_unix' && ../dist/configure \
+ $(MXE_CONFIGURE_OPTS) \
+ --enable-mingw \
+ --enable-cxx \
+ --disable-shared \
+ --disable-replication
+
+ $(MAKE) -C '$(1)/build_unix' -j '$(JOBS)'
+ $(MAKE) -C '$(1)/build_unix' -j 1 install $(MXE_DISABLE_DOCS)
+endef