summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-22 20:08:35 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-22 20:08:35 +0000
commit42fec40dcfc52e17703e04b9f495ff31a173eaa6 (patch)
treeff99bd0aa977edf5636f06c190a6fdad68a65fff /packages
parentb9640707a1ad855b5db90fd741d9dd7322f82487 (diff)
Add libdvb package
Diffstat (limited to 'packages')
-rw-r--r--packages/libdvb/.mtn2git_empty0
-rw-r--r--packages/libdvb/libdvb_0.5.5.1.bb26
2 files changed, 26 insertions, 0 deletions
diff --git a/packages/libdvb/.mtn2git_empty b/packages/libdvb/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libdvb/.mtn2git_empty
diff --git a/packages/libdvb/libdvb_0.5.5.1.bb b/packages/libdvb/libdvb_0.5.5.1.bb
new file mode 100644
index 0000000000..8e3b874184
--- /dev/null
+++ b/packages/libdvb/libdvb_0.5.5.1.bb
@@ -0,0 +1,26 @@
+LICENSE = "GPL"
+DESCRIPTION = "Linux Digital Video Broadcast library"
+HOMEPAGE = "http://www.metzlerbros.org/dvb/index.html"
+MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org"
+SECTION = "libs"
+PRIORITY = "optional"
+PR = "r2"
+
+SRC_URI = "http://www.metzlerbros.org/dvb/${PN}-${PV}.tar.gz"
+S = "${WORKDIR}/${PN}-${PV}"
+
+inherit autotools pkgconfig
+
+do_configure() {
+ grep -v ^PREFIX ${S}/config.mk > ${S}/config.mk.new
+ echo "PREFIX=${prefix}" >> ${S}/config.mk.new
+ mv ${S}/config.mk.new ${S}/config.mk
+}
+
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/dvb
+ install -m 0644 ${S}/include/*.h ${STAGING_INCDIR}/dvb
+ oe_libinstall -a -C libdvb libdvb ${STAGING_LIBDIR}
+}
+