0a5e5534cb
Now that those values are passed at the autotools infrastructure level, there's no need for every package to pass inconsistent values. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 lines
610 B
Makefile
24 lines
610 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 = \
|
|
--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))
|