]>
Commit | Line | Data |
---|---|---|
b92f5b73 GZ |
1 | ############################################################# |
2 | # | |
3 | # lame | |
4 | # | |
5 | ############################################################# | |
6 | ||
7 | LAME_VERSION = 3.98.4 | |
8 | LAME_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/lame | |
9 | LAME_DEPENDENCIES = host-pkg-config | |
10 | LAME_INSTALL_STAGING = YES | |
0387830b | 11 | LAME_CONF_ENV = GTK_CONFIG=/bin/false |
b92f5b73 GZ |
12 | |
13 | ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) | |
14 | LAME_DEPENDENCIES += libsndfile | |
15 | LAME_CONF_OPT += --with-fileio=sndfile | |
16 | endif | |
17 | ||
18 | ifeq ($(BR2_PACKAGE_NCURSES),y) | |
19 | LAME_DEPENDENCIES += ncurses | |
20 | endif | |
21 | ||
22 | ifeq ($(BR2_ENDIAN),"BIG") | |
23 | define LAME_BIGENDIAN_ARCH | |
24 | echo "#define WORDS_BIGENDIAN 1" >>$(@D)/config.h | |
25 | endef | |
26 | endif | |
27 | ||
28 | LAME_POST_CONFIGURE_HOOKS += LAME_BIGENDIAN_ARCH | |
29 | ||
30 | $(eval $(call AUTOTARGETS,package/multimedia,lame)) |