mirror of https://git.wownero.com/dsc/mxe.git
29 lines
843 B
Makefile
29 lines
843 B
Makefile
|
# This file is part of MXE.
|
||
|
# See index.html for further information.
|
||
|
|
||
|
PKG := berkeleydb
|
||
|
$(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 berkeleydb 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
|