docs/manual: document the br2-external desc: field
[buildroot-gz.git] / package / lame / lame.mk
blob934579953b7b22b65048529c8e13fe3692094ecf
1 ################################################################################
3 # lame
5 ################################################################################
7 LAME_VERSION_MAJOR = 3.99
8 LAME_VERSION = $(LAME_VERSION_MAJOR).5
9 LAME_SITE = http://downloads.sourceforge.net/project/lame/lame/$(LAME_VERSION_MAJOR)
10 LAME_DEPENDENCIES = host-pkgconf
11 LAME_AUTORECONF = YES
12 LAME_INSTALL_STAGING = YES
13 LAME_CONF_ENV = GTK_CONFIG=/bin/false
14 LAME_CONF_OPTS = --enable-dynamic-frontends
15 LAME_LICENSE = LGPLv2+
16 LAME_LICENSE_FILES = COPYING
18 ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
19 LAME_DEPENDENCIES += libsndfile
20 LAME_CONF_OPTS += --with-fileio=sndfile
21 endif
23 ifeq ($(BR2_PACKAGE_NCURSES),y)
24 LAME_DEPENDENCIES += ncurses
25 endif
27 ifeq ($(BR2_ENDIAN),"BIG")
28 define LAME_BIGENDIAN_ARCH
29 echo "#define WORDS_BIGENDIAN 1" >>$(@D)/config.h
30 endef
31 endif
33 LAME_POST_CONFIGURE_HOOKS += LAME_BIGENDIAN_ARCH
35 $(eval $(autotools-package))