# This file is part of MXE. # See index.html for further information. PKG := db $(PKG)_IGNORE := $(PKG)_VERSION := 6.1.26 $(PKG)_CHECKSUM := 5ae05c6c4a1766270fd5cfb28539e2b7a19c33b2 $(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 $(WGET) -q -O- 'http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html' | \ $(SED) -n 's,.*/db-\([0-9\.]\+\)\.tar.gz.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)/build_unix' && ../dist/configure \ $(MXE_CONFIGURE_OPTS) \ --enable-mingw \ --enable-cxx \ --enable-cryptography \ --disable-replication $(MAKE) -C '$(1)/build_unix' -j '$(JOBS)' $(MAKE) -C '$(1)/build_unix' -j 1 install $(MXE_DISABLE_DOCS) endef