diff options
-rw-r--r-- | packages/faad2/faad2-2.0/Makefile.patch | 11 | ||||
-rw-r--r-- | packages/faad2/faad2_2.0.bb | 30 |
2 files changed, 41 insertions, 0 deletions
diff --git a/packages/faad2/faad2-2.0/Makefile.patch b/packages/faad2/faad2-2.0/Makefile.patch index e69de29bb2..32c834a353 100644 --- a/packages/faad2/faad2-2.0/Makefile.patch +++ b/packages/faad2/faad2-2.0/Makefile.patch @@ -0,0 +1,11 @@ +--- faad2/Makefile.am.orig 2004-12-24 22:59:30.000000000 +0100 ++++ faad2/Makefile.am 2004-12-24 22:59:42.000000000 +0100 +@@ -1,8 +1,3 @@ + SUBDIRS = libfaad common frontend plugins + + EXTRA_DIST = faad2.spec +- +-rpm: Makefile +- make dist +- $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz +- rm $(PACKAGE)-$(VERSION).tar.gz 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}/ +} |