summaryrefslogtreecommitdiff
path: root/recipes/lame/lame_3.96.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lame/lame_3.96.1.bb')
-rw-r--r--recipes/lame/lame_3.96.1.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/lame/lame_3.96.1.bb b/recipes/lame/lame_3.96.1.bb
new file mode 100644
index 0000000000..ab9a99c064
--- /dev/null
+++ b/recipes/lame/lame_3.96.1.bb
@@ -0,0 +1,32 @@
+SECTION = "console/utils"
+DESCRIPTION = "Not an MP3 encoder"
+LICENSE = "LGPL"
+PR = "r4"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lame/lame-${PV}.tar.gz \
+ file://no-gtk1.patch;patch=1 \
+ file://Makefile-lm.patch;patch=1"
+
+inherit autotools
+
+PACKAGES += "libmp3lame libmp3lame-dev"
+FILES_${PN} = "${bindir}/lame"
+FILES_libmp3lame = "${libdir}/libmp3lame.so.*"
+FILES_libmp3lame-dev = "${includedir} ${libdir}/*"
+FILES_${PN}-dev = ""
+
+do_configure() {
+ # no autoreconf please
+ aclocal
+ autoconf
+ libtoolize --force
+ gnu-configize --force
+ oe_runconf
+}
+
+do_stage() {
+ install -d ${STAGING_LIBDIR}
+ oe_libinstall -C libmp3lame -so -a libmp3lame ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/lame
+ install -m 0644 include/lame.h ${STAGING_INCDIR}/lame/
+}