From 2816ffb8299b90f6f58419f6ed0524e943d8b629 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 02:13:30 +0100 Subject: [PATCH] Added libdvdread-4.1.3 build template. --HG-- extra : convert_revision : 734f4e4b09db9b4c9d378d66ec763d5c984e2b68 --- srcpkgs/libdvdread-devel | 1 + srcpkgs/libdvdread/depends | 2 ++ srcpkgs/libdvdread/libdvdread-devel.template | 19 +++++++++++++++++++ srcpkgs/libdvdread/template | 20 ++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 120000 srcpkgs/libdvdread-devel create mode 100644 srcpkgs/libdvdread/depends create mode 100644 srcpkgs/libdvdread/libdvdread-devel.template create mode 100644 srcpkgs/libdvdread/template diff --git a/srcpkgs/libdvdread-devel b/srcpkgs/libdvdread-devel new file mode 120000 index 0000000000..95d23c40fc --- /dev/null +++ b/srcpkgs/libdvdread-devel @@ -0,0 +1 @@ +libdvdread \ No newline at end of file diff --git a/srcpkgs/libdvdread/depends b/srcpkgs/libdvdread/depends new file mode 100644 index 0000000000..81d23b88df --- /dev/null +++ b/srcpkgs/libdvdread/depends @@ -0,0 +1,2 @@ +abi_depends=">=4.1.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/libdvdread/libdvdread-devel.template b/srcpkgs/libdvdread/libdvdread-devel.template new file mode 100644 index 0000000000..357d6f46b5 --- /dev/null +++ b/srcpkgs/libdvdread/libdvdread-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libdvdread-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 libdvdread + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libdvdread/template b/srcpkgs/libdvdread/template new file mode 100644 index 0000000000..1e69bbb370 --- /dev/null +++ b/srcpkgs/libdvdread/template @@ -0,0 +1,20 @@ +# Template file for 'libdvdread' +pkgname=libdvdread +version=4.1.3 +distfiles="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="DVD access library" +maintainer="Juan RP " +checksum=07c39907beccd141adb710403c4704a1e1fe2f3f61d1e5a74fc5bcb7679819b4 +long_desc=" + libdvdread is a library that provides an interface to make life + for programs that access DVDs a little easier." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency build automake + +pre_configure() +{ + cd ${wrksrc} && autoreconf -vi +}