Added libdvdread-4.1.3 build template.

--HG--
extra : convert_revision : 734f4e4b09db9b4c9d378d66ec763d5c984e2b68
This commit is contained in:
Juan RP 2009-12-30 02:13:30 +01:00
parent d0d3498a7d
commit 2816ffb829
4 changed files with 42 additions and 0 deletions

1
srcpkgs/libdvdread-devel Symbolic link
View file

@ -0,0 +1 @@
libdvdread

View file

@ -0,0 +1,2 @@
abi_depends=">=4.1.3"
api_depends="${abi_depends}"

View file

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

View file

@ -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 <xtraeme@gmail.com>"
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
}