From 0c88b9105bb2a6b05fd4a21bdc03cd8d141ac5be Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 31 Dec 2009 02:59:33 +0100 Subject: [PATCH] Added libdvdcss-1.2.10 build template. --HG-- extra : convert_revision : 5d390dd1a6448e3599b452102f6fd3198cc005f0 --- srcpkgs/libdvdcss-devel | 1 + srcpkgs/libdvdcss/depends | 2 ++ srcpkgs/libdvdcss/libdvdcss-devel.template | 18 ++++++++++++++++++ srcpkgs/libdvdcss/template | 16 ++++++++++++++++ 4 files changed, 37 insertions(+) create mode 120000 srcpkgs/libdvdcss-devel create mode 100644 srcpkgs/libdvdcss/depends create mode 100644 srcpkgs/libdvdcss/libdvdcss-devel.template create mode 100644 srcpkgs/libdvdcss/template diff --git a/srcpkgs/libdvdcss-devel b/srcpkgs/libdvdcss-devel new file mode 120000 index 0000000000..b7b8cd98ba --- /dev/null +++ b/srcpkgs/libdvdcss-devel @@ -0,0 +1 @@ +libdvdcss \ No newline at end of file diff --git a/srcpkgs/libdvdcss/depends b/srcpkgs/libdvdcss/depends new file mode 100644 index 0000000000..a24e33ec00 --- /dev/null +++ b/srcpkgs/libdvdcss/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.10" +api_depends="${abi_depends}" diff --git a/srcpkgs/libdvdcss/libdvdcss-devel.template b/srcpkgs/libdvdcss/libdvdcss-devel.template new file mode 100644 index 0000000000..c451301d37 --- /dev/null +++ b/srcpkgs/libdvdcss/libdvdcss-devel.template @@ -0,0 +1,18 @@ +# Template file for 'libdvdcss-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 libdvdcss + +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 +} diff --git a/srcpkgs/libdvdcss/template b/srcpkgs/libdvdcss/template new file mode 100644 index 0000000000..07526f2afa --- /dev/null +++ b/srcpkgs/libdvdcss/template @@ -0,0 +1,16 @@ +# Template file for 'libdvdcss' +pkgname=libdvdcss +version=1.2.10 +distfiles="http://download.videolan.org/pub/$pkgname/$version/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Simple library designed for accessing DVDs" +maintainer="Juan RP " +checksum=2394a75013ab66b592d8c91d53529ede392bc9faee37fe279bd29b455eff2220 +long_desc=" + libdvdcss is a simple library designed for accessing DVDs like a block device + without having to bother about the decryption. + + This library is used by libdvdread via dlopen()." + +subpackages="$pkgname-devel" +Add_dependency run glibc