Commit 36c27fa4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contribs: add twolame

parent cc84d038
241ae5faebf05cb919959bb0545cb89e9b71cfb07f92a7118d864499ea4f0065ddaa646ab1482ffbcbca427d52c2436764074bd67fd19a1eb9979987f23163f7 twolame-0.3.13.tar.gz
d19263c9c8fddca7bfd306c07d45fb649e29f9c3c978b9dd2c70d122bc335a569228cc0961b1a15162b2ab9e44a1595ea107ac359ea08a8256fe780d8f173e8d twolame-winutil.h
# twolame
TWOLAME_VERSION := 0.3.13
TWOLAME_URL := $(SF)/twolame/twolame-$(TWOLAME_VERSION).tar.gz
ifdef BUILD_ENCODERS
PKGS += twolame
endif
$(TARBALLS)/twolame-$(TWOLAME_VERSION).tar.gz:
$(call download,$(TWOLAME_URL))
$(TARBALLS)/twolame-winutil.h:
$(call download,"http://twolame.svn.sourceforge.net/viewvc/*checkout*/twolame/trunk/win32/winutil.h")
.sum-twolame: twolame-$(TWOLAME_VERSION).tar.gz twolame-winutil.h
twolame: twolame-$(TWOLAME_VERSION).tar.gz twolame-winutil.h .sum-twolame
$(UNPACK)
ifdef HAVE_WIN32
cp -f $(filter %winutil.h,$^) $@-$(TWOLAME_VERSION)/win32/winutil.h
endif
mv $@-$(TWOLAME_VERSION) $@
touch $@
.twolame: twolame
cd $< && $(HOSTVARS) CFLAGS="${CFLAGS} -DLIBTWOLAME_STATIC" ./configure $(HOSTCONF)
cd $< && $(MAKE)
cd $</libtwolame && $(MAKE) install
cd $< && $(MAKE) install-data
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment