summaryrefslogtreecommitdiff
path: root/faad2
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-09-25 17:33:52 +0000
committerTim Ansell <mithro@mithis.com>2004-09-25 17:33:52 +0000
commit297011dda655820a034edb4de27ec89b3598e84b (patch)
tree1093003df544f69cfa21925d6fc3b6248ec0a925 /faad2
parent37d8fbeff7a3fc8d3ee84e8eab83244ac5234efb (diff)
Added stagging stuff.
BKrev: 4155ac00hSzHKNUyGPSkZIfdGr7_6g
Diffstat (limited to 'faad2')
-rw-r--r--faad2/faad2_2.0.oe33
1 files changed, 33 insertions, 0 deletions
diff --git a/faad2/faad2_2.0.oe b/faad2/faad2_2.0.oe
index e69de29bb2..f14fbd5b46 100644
--- a/faad2/faad2_2.0.oe
+++ b/faad2/faad2_2.0.oe
@@ -0,0 +1,33 @@
+
+DESCRIPTION = "Library for reading some sort of media format."
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = ""
+
+inherit autotools
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.zip \
+ file://Makefile.patch;patch=0 \
+"
+S="${WORKDIR}/${PN}"
+
+PACKAGES = "${PN} libfaad libfaad-dev libmp4ff libmp4ff-dev"
+
+FILES_${PN} = "/usr/bin/faad"
+
+FILES_libfaad = "/usr/lib/libfaad.so.0 /usr/lib/libfaad.so.0.0.0"
+FILES_libfaad-dev = "/usr/lib/libfaad.so /usr/lib/libfaad.la /usr/lib/libfaad.a /usr/include/faad.h"
+
+FILES_libmp4ff = "/usr/lib/libmp4ff.so.0 /usr/lib/libmp4ff.so.0.0.0"
+FILES_libmp4ff-dev = "/usr/lib/libmp4ff.so /usr/lib/libmp4ff.la /usr/lib/libmp4ff.a /usr/include/mp4ff.h"
+
+do_configure_append () {
+ patch -p0 < ${FILESDIR}/Makefile2.patch
+}
+
+do_stage() {
+ oe_libinstall -a -so -C libfaad libfaad ${STAGING_LIBDIR}
+ install -m 0644 ${S}/include/faad.h ${STAGING_INCDIR}/
+ oe_libinstall -a -so -C common/mp4ff libmp4ff ${STAGING_LIBDIR}
+ install -m 0644 ${S}/common/mp4ff/mp4ff.h ${STAGING_INCDIR}/
+}