diff options
author | Ulrich Klauer <ulrich@chirlu.de> | 2013-03-06 12:10:51 (GMT) |
---|---|---|
committer | Ulrich Klauer <ulrich@chirlu.de> | 2013-03-06 12:10:51 (GMT) |
commit | f1e4cc5f02130acaab019426d5cbedd1235d6ce5 (patch) | |
tree | f15e9c4d308dbbd06f1ec243b800a7a5271cde2f | |
parent | 0bec7387ab96ff69b5066afbf382fdba2e0b912b (diff) | |
download | mxe-f1e4cc5f02130acaab019426d5cbedd1235d6ce5.zip mxe-f1e4cc5f02130acaab019426d5cbedd1235d6ce5.tar.gz mxe-f1e4cc5f02130acaab019426d5cbedd1235d6ce5.tar.bz2 |
Add package twolame
TwoLAME is an MP2 (MPEG Audio Layer 2) encoder. The library is LGPL.
Website: http://www.twolame.org/
Built via autotools. No special dependencies; libsndfile is only used
for the command-line encoder, not for the library.
-rw-r--r-- | index.html | 5 | ||||
-rw-r--r-- | src/twolame.mk | 27 |
2 files changed, 32 insertions, 0 deletions
@@ -2125,6 +2125,11 @@ aptitude -t squeeze-backports install cmake yasm</pre> <td id="tre-website"><a href="http://laurikari.net/tre/">TRE</a></td> </tr> <tr> + <td id="twolame-package">twolame</td> + <td id="twolame-version">0.3.13</td> + <td id="twolame-website"><a href="http://www.twolame.org/">TwoLAME</a></td> + </tr> + <tr> <td id="vigra-package">vigra</td> <td id="vigra-version">1.9.0</td> <td id="vigra-website"><a href="http://hci.iwr.uni-heidelberg.de/vigra">vigra</a></td> diff --git a/src/twolame.mk b/src/twolame.mk new file mode 100644 index 0000000..bf00555 --- /dev/null +++ b/src/twolame.mk @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := twolame +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 3ca460472c2f6eeedad70291d8e37da88b64eb8b +$(PKG)_SUBDIR := twolame-$($(PKG)_VERSION) +$(PKG)_FILE := twolame-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ + $(SED) -n 's,^.*twolame/\([0-9][^"]*\)/".*$,\1,p' | \ + head -n 1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --enable-static \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + CFLAGS="-DLIBTWOLAME_STATIC" + $(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS=libtwolame + $(MAKE) -C '$(1)' -j 1 install SUBDIRS=libtwolame +endef |