buildrootschalter/package/multimedia/flac/flac.mk
Peter Korsgaard 24981139f6 package/multimeda: add flac package
Patch by Sven Neumann (from #99).

Removed optimization patch, cleaned up configure args and fixed download URL.
2009-02-20 13:02:13 +00:00

27 lines
676 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_AUTORECONF = NO
FLAC_INSTALL_TARGET = YES
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))