blob: 94ddc3c9bc0a55f139a943006b8715df8859c824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := db
$(PKG)_WEBSITE := http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html
$(PKG)_DESCR := Oracle Berkeley DB
$(PKG)_IGNORE :=
$(PKG)_VERSION := 6.1.26
$(PKG)_CHECKSUM := dd1417af5443f326ee3998e40986c3c60e2a7cfb5bfa25177ef7cadb2afb13a6
$(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
|