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 +}