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