diff options
author | Bishwa Shrestha <bishwa.shrestha@gmail.com> | 2012-05-15 12:00:51 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-05-15 12:00:51 (GMT) |
commit | 0b3d85efe8adc02c8bfa72eb922ff7d7f0bc10a2 (patch) | |
tree | 516446c4dc030212b35fb62de531c374e1f36bd4 /src | |
parent | 9d1b378bef7b7ab079ae1c07272546b1b6469eaa (diff) | |
download | mxe-0b3d85efe8adc02c8bfa72eb922ff7d7f0bc10a2.zip mxe-0b3d85efe8adc02c8bfa72eb922ff7d7f0bc10a2.tar.gz mxe-0b3d85efe8adc02c8bfa72eb922ff7d7f0bc10a2.tar.bz2 |
new package: qdbm
Diffstat (limited to 'src')
-rw-r--r-- | src/qdbm.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/qdbm.mk b/src/qdbm.mk new file mode 100644 index 0000000..b759f8e --- /dev/null +++ b/src/qdbm.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := qdbm +VERSION := 1.8.78 +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 8c2ab938c2dad8067c29b0aa93efc6389f0e7076 +$(PKG)_SUBDIR := qdbm-$($(PKG)_VERSION) +$(PKG)_FILE := qdbm-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://fallabs.com/qdbm/qdbm-1.8.78.tar.gz +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://fallabs.com/qdbm/' | \ + grep 'qdbm-' | \ + $(SED) -n 's,.*qdbm-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)/' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + CONFIG_SHELL=$(SHELL) + $(MAKE) -C '$(1)/' -j '$(JOBS)' install +endef |