Mercurial > mxe-octave
view src/qdbm.mk @ 2993:1f944d8d6fe5
Modfications for libuuid dependancies
* index.html: Added uuid package entry.
* src/fltk-2-uuid-mod.patch: New patch file
* src/fltk.m: Added uuid to fltk dependancies.
* src/octave.mk (PKG_BUILD): Removed build of uuid.dll.
* src/uuid.mk: New file.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 25 May 2013 12:37:14 -0400 |
parents | e7c40b6c3e66 |
children | 100e618349f7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := qdbm $(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 bzip2 libiconv lzo zlib 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)' \ --enable-lzo \ --enable-bzip \ --enable-zlib \ --enable-iconv $(MAKE) -C '$(1)' -j '$(JOBS)' \ static \ MYBINS= \ MYLIBS=libqdbm.a \ AR=i686-pc-mingw32-ar \ RANLIB=i686-pc-mingw32-ranlib $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' $(INSTALL) -m644 '$(1)/libqdbm.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -m644 '$(1)/qdbm.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' cd '$(1)' && $(INSTALL) -m644 depot.h curia.h relic.h hovel.h \ cabin.h villa.h vista.h odeum.h '$(PREFIX)/$(TARGET)/include/' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-qdbm.exe' \ `'$(TARGET)-pkg-config' qdbm --cflags --libs` endef