Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 1.09 kb
# This file is part of MXE.
# See index.html for further information.
# mdbtools
PKG := mdbtools
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := 62fe0703fd8691e4536e1012317406bdb72594cf
$(PKG)_SUBDIR := brianb-mdbtools-004cc9f
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://github.com/brianb/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc glib
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://github.com/brianb/mdbtools/tags' | \
grep '<a href="/brianb/mdbtools/tarball/' | \
$(SED) -n 's,.*href="/brianb/mdbtools/tarball/\([0-9][^"_]*\)".*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
'$(SED)' -i 's/libtooloze/libtoolize/g;' '$(1)/autogen.sh'
cd '$(1)' && NOCONFIGURE=1 ./autogen.sh
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=
endef
Jump to Line
Something went wrong with that request. Please try again.