diff options
author | Di Appoggio <diappoggio@gmail.com> | 2010-09-20 12:04:43 (GMT) |
---|---|---|
committer | Di Appoggio <diappoggio@gmail.com> | 2010-09-20 12:04:43 (GMT) |
commit | b20525341ff1866023ca97366f359d1a6f1dca1b (patch) | |
tree | 040435b3c00ad0e7498f5b441cd6aff2fb1abff0 /src/lame.mk | |
parent | 1890e67af42c1a1ce3ef14b8c46041c380bc8870 (diff) | |
download | mxe-b20525341ff1866023ca97366f359d1a6f1dca1b.zip mxe-b20525341ff1866023ca97366f359d1a6f1dca1b.tar.gz mxe-b20525341ff1866023ca97366f359d1a6f1dca1b.tar.bz2 |
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Diffstat (limited to 'src/lame.mk')
-rw-r--r-- | src/lame.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lame.mk b/src/lame.mk new file mode 100644 index 0000000..bfce141 --- /dev/null +++ b/src/lame.mk @@ -0,0 +1,28 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# lame +PKG := lame +$(PKG)_IGNORE := +$(PKG)_VERSION := 3.98.4 +$(PKG)_CHECKSUM := eb29c7c937b9b7330ca979dfabc25ab2a31b9db2 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://lame.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/lame/files/lame/) | \ + $(SED) -n 's,.*lame-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |