extras: ci: update Android image and NDK (21)
[vlc.git] / contrib / src / twolame / rules.mak
blob3ff3de64fabd8f12e4c2269e553557df84e65b11
1 # twolame
3 TWOLAME_VERSION := 0.3.13
4 TWOLAME_URL := $(SF)/twolame/twolame-$(TWOLAME_VERSION).tar.gz
6 ifdef BUILD_ENCODERS
7 PKGS += twolame
8 endif
9 ifeq ($(call need_pkg,"twolame"),)
10 PKGS_FOUND += twolame
11 endif
13 $(TARBALLS)/twolame-$(TWOLAME_VERSION).tar.gz:
14 $(call download_pkg,$(TWOLAME_URL),twolame)
16 .sum-twolame: twolame-$(TWOLAME_VERSION).tar.gz
18 twolame: twolame-$(TWOLAME_VERSION).tar.gz .sum-twolame
19 $(UNPACK)
20 $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && cp config.guess config.sub build-scripts
21 $(MOVE)
23 .twolame: twolame
24 $(RECONF)
25 cd $< && $(HOSTVARS) CFLAGS="${CFLAGS} -DLIBTWOLAME_STATIC" ./configure $(HOSTCONF)
26 cd $< && $(MAKE)
27 cd $< && $(MAKE) -C libtwolame install
28 cd $< && $(MAKE) install-data
29 touch $@