Mercurial > mxe-octave
changeset 2520:5f1a945bb458
new package: qdbm
author | Bishwa Shrestha <bishwa.shrestha@gmail.com> |
---|---|
date | Tue, 15 May 2012 22:00:51 +1000 |
parents | 333f858d1b1a |
children | e7c40b6c3e66 |
files | src/qdbm.mk |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/qdbm.mk Tue May 15 22:00:51 2012 +1000 @@ -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