4 LAME_URL
:= $(SF
)/lame
/lame-
$(LAME_VERSION
).
tar.gz
5 LAME_CFLAGS
:= $(CFLAGS
)
7 $(TARBALLS
)/lame-
$(LAME_VERSION
).
tar.gz
:
8 $(call download_pkg
,$(LAME_URL
),lame
)
10 .sum-lame
: lame-
$(LAME_VERSION
).
tar.gz
12 ifdef WITH_OPTIMIZATION
13 LAME_CFLAGS
+= -DNDEBUG
16 lame
: lame-
$(LAME_VERSION
).
tar.gz .sum-lame
18 $(APPLY
) $(SRC
)/lame
/lame-forceinline.patch
19 $(APPLY
) $(SRC
)/lame
/sse.patch
20 ifdef HAVE_VISUALSTUDIO
21 $(APPLY
) $(SRC
)/lame
/struct-float-copy.patch
23 # Avoid relying on iconv.m4 from gettext, when reconfiguring.
24 # This is only used by the frontend which we disable.
25 cd
$(UNPACK_DIR
) && sed
-i.orig
's/^AM_ICONV/#&/' configure.in
31 cd
$< && $(HOSTVARS
) CFLAGS
="$(LAME_CFLAGS)" .
/configure
$(HOSTCONF
) --disable-analyzer-hooks
--disable-decoder
--disable-gtktest
--disable-frontend
32 cd
$< && $(MAKE
) install