kumquat-buildroot/package/multimedia/flac/flac.mk
Gustavo Zacarias 8e2fd81887 flac: fix powerpc build
flac incorrectly assumes every powerpc around has altivec.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-10 22:24:43 +01:00

25 lines
629 B
Makefile

################################################################################
#
# flac
#
################################################################################
FLAC_VERSION = 1.2.1
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.gz
FLAC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/flac/
FLAC_INSTALL_STAGING = YES
FLAC_CONF_OPT = \
--enable-shared \
--disable-cpplibs \
--disable-xmms-plugin
ifeq ($(BR2_PACKAGE_LIBOGG),y)
FLAC_CONF_OPT += --with-ogg=$(STAGING_DIR)/usr
FLAC_DEPENDENCIES = libogg
else
FLAC_CONF_OPT += --disable-ogg
endif
$(eval $(call AUTOTARGETS,package/multimedia,flac))