1 ################################################################################
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
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
23 ifeq ($(BR2_PACKAGE_NCURSES
),y
)
24 LAME_DEPENDENCIES
+= ncurses
27 ifeq ($(BR2_ENDIAN
),"BIG")
28 define LAME_BIGENDIAN_ARCH
29 echo
"#define WORDS_BIGENDIAN 1" >>$(@D
)/config.h
33 LAME_POST_CONFIGURE_HOOKS
+= LAME_BIGENDIAN_ARCH
35 $(eval
$(autotools-package
))