From 933ff2e7c7b37becb141f070e05dd48fda342a74 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 02:25:26 +0100 Subject: [PATCH] Added libdvbpsi-0.1.6 build template. --HG-- extra : convert_revision : 345a85b7949b705b5f8a851a638f8308224ff053 --- srcpkgs/libdvbpsi-devel | 1 + srcpkgs/libdvbpsi/depends | 2 ++ srcpkgs/libdvbpsi/libdvbpsi-devel.template | 19 ++++++++++++++ srcpkgs/libdvbpsi/template | 30 ++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 120000 srcpkgs/libdvbpsi-devel create mode 100644 srcpkgs/libdvbpsi/depends create mode 100644 srcpkgs/libdvbpsi/libdvbpsi-devel.template create mode 100644 srcpkgs/libdvbpsi/template diff --git a/srcpkgs/libdvbpsi-devel b/srcpkgs/libdvbpsi-devel new file mode 120000 index 0000000000..056ac12875 --- /dev/null +++ b/srcpkgs/libdvbpsi-devel @@ -0,0 +1 @@ +libdvbpsi \ No newline at end of file diff --git a/srcpkgs/libdvbpsi/depends b/srcpkgs/libdvbpsi/depends new file mode 100644 index 0000000000..cfed651e1d --- /dev/null +++ b/srcpkgs/libdvbpsi/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.1.6" +api_depends="${abi_depends}" diff --git a/srcpkgs/libdvbpsi/libdvbpsi-devel.template b/srcpkgs/libdvbpsi/libdvbpsi-devel.template new file mode 100644 index 0000000000..63d5c93772 --- /dev/null +++ b/srcpkgs/libdvbpsi/libdvbpsi-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libdvbpsi-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libdvbpsi + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + #mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + #mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libdvbpsi/template b/srcpkgs/libdvbpsi/template new file mode 100644 index 0000000000..24c8659c54 --- /dev/null +++ b/srcpkgs/libdvbpsi/template @@ -0,0 +1,30 @@ +# Template file for 'libdvbpsi' +pkgname=libdvbpsi +version=0.1.6 +wrksrc="${pkgname}5-${version}" +distfiles="http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-$version.tar.bz2" +build_style=gnu_configure +short_desc="PSI decoder and generator library for MPEG2 and DVB streams" +maintainer="Juan RP " +checksum=e875210131805ca9a67f190a86dd0c9fd87d6addcb7405e8584620837af805b8 +long_desc=" + lbdvbpsi is a simple library designed for decoding and generation of MPEG TS + and DVB PSI tables. + + Current features + + Program Association Table (PAT), decoder and generator. + Program Map Table (PMT), decoder and generator. + All MPEG 2 descriptors, decoders and generators. + + The libdvbpsi is part of the VideoLAN project, a full MPEG2 + client/server solution. The libdvbpsi can also be used with extra + programs that need DVB and PSI decoders and generators. + + The VideoLAN team decided to write the libdvbpsi to make the VideoLAN + Client and the VideoLAN Server capable of demultiplexing a satellite + DVB stream. The library aims at making it easy to decode PSI tables + (such as PAT, PMT etc.) present in a TS/DVB stream." + +subpackages="$pkgname-devel" +Add_dependency run glibc