mxe/src/lame.mk

29 lines
896 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
PKG := lame
$(PKG)_IGNORE :=
2013-10-19 05:10:05 +01:00
$(PKG)_VERSION := 3.99.5
$(PKG)_CHECKSUM := 24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
2013-10-19 05:10:05 +01:00
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
2013-10-19 05:10:05 +01:00
$(WGET) -q -O- 'http://lame.cvs.sourceforge.net/viewvc/lame/lame/' | \
grep RELEASE_ | \
$(SED) -n 's,.*RELEASE__\([0-9_][^<]*\)<.*,\1,p' | \
tr '_' '.' | \
$(SORT) -V | \
tail -1
endef
define $(PKG)_BUILD
2014-05-02 12:47:52 +01:00
cd '$(1)' && autoreconf -i && ./configure \
2014-05-09 16:23:00 +01:00
$(MXE_CONFIGURE_OPTS) \
--disable-frontend
2014-05-02 12:47:52 +01:00
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef