diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-30 00:58:30 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-30 00:58:30 (GMT) |
commit | 262aa647f04db4aac22a7301a5b22e0a08c01be6 (patch) | |
tree | a286337f657944774706f939a527b76f2fb7fd42 /src/libbs2b.mk | |
parent | 92a09aeae43765202caf4152a6b4fa8902c1a386 (diff) | |
parent | 0e50d664f4efce912ee1a4ee62168c661d6f9199 (diff) | |
download | mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.zip mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.tar.gz mxe-262aa647f04db4aac22a7301a5b22e0a08c01be6.tar.bz2 |
Merge branch 'stable'
Conflicts:
Makefile
src/gd.mk
src/gdal.mk
src/imagemagick.mk
src/pcl.mk
src/qt.mk
Diffstat (limited to 'src/libbs2b.mk')
-rw-r--r-- | src/libbs2b.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libbs2b.mk b/src/libbs2b.mk new file mode 100644 index 0000000..f1bfb3d --- /dev/null +++ b/src/libbs2b.mk @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := libbs2b +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.7 +$(PKG)_CHECKSUM := 80eaaa5cc576c35dd28863767b795c50cbcc0511 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/bs2b/libbs2b/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc libsndfile + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/bs2b/files/libbs2b/' | \ + $(SED) -n 's,.*<a href="/projects/bs2b/files/libbs2b/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS='-no-undefined' + $(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined' +endef
\ No newline at end of file |