]> Git Repo - buildroot-mgba.git/blob - package/multimedia/lame/lame.mk
lame: fix build if host has libgtk12-dev (gtk-config)
[buildroot-mgba.git] / package / multimedia / lame / lame.mk
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
11 LAME_CONF_ENV = GTK_CONFIG=/bin/false
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))
This page took 0.027236 seconds and 4 git commands to generate.