summaryrefslogtreecommitdiff
path: root/packages/faad2/faad2_2.0.bb
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2004-12-24 23:10:35 +0000
committerRene Wagner <rw@handhelds.org>2004-12-24 23:10:35 +0000
commit9d76d25d6b2e00df671827e97c2faf6444927da2 (patch)
tree33ea5df5b7cfa1e028edd9089c031e0a4c544441 /packages/faad2/faad2_2.0.bb
parent35238929ae91d6882e4dc0f7d3a9c42123d5c928 (diff)
faad2: fix/remove patches to make it build
BKrev: 41cca1ebrUm03CjEoEryf2qTONSW4g
Diffstat (limited to 'packages/faad2/faad2_2.0.bb')
-rw-r--r--packages/faad2/faad2_2.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/faad2/faad2_2.0.bb b/packages/faad2/faad2_2.0.bb
index e69de29bb2..5ccff29ce4 100644
--- a/packages/faad2/faad2_2.0.bb
+++ b/packages/faad2/faad2_2.0.bb
@@ -0,0 +1,30 @@
+
+DESCRIPTION = "Library for reading some sort of media format."
+SECTION = "libs"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+DEPENDS = ""
+
+inherit autotools
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.zip \
+ file://Makefile.patch;patch=1 \
+"
+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_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}/
+}