summaryrefslogtreecommitdiff
path: root/package/multimedia/flac/flac.mk
blob: 79ecfd199ee1655d90228837cfcb983f45e7d7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# 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))