From 1a1462c63a28e8d1fe18386ddeb0446bb99e11d6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 31 Dec 2009 03:55:12 +0100 Subject: [PATCH] Added libdca-0.0.5 build template. --HG-- extra : convert_revision : caabc7e463bf771d181f2671ddc24745185a595c --- srcpkgs/libdca-devel | 1 + srcpkgs/libdca/depends | 2 ++ srcpkgs/libdca/libdca-devel.template | 18 ++++++++++++++++++ srcpkgs/libdca/template | 15 +++++++++++++++ 4 files changed, 36 insertions(+) create mode 120000 srcpkgs/libdca-devel create mode 100644 srcpkgs/libdca/depends create mode 100644 srcpkgs/libdca/libdca-devel.template create mode 100644 srcpkgs/libdca/template diff --git a/srcpkgs/libdca-devel b/srcpkgs/libdca-devel new file mode 120000 index 0000000000..f264587e1c --- /dev/null +++ b/srcpkgs/libdca-devel @@ -0,0 +1 @@ +libdca \ No newline at end of file diff --git a/srcpkgs/libdca/depends b/srcpkgs/libdca/depends new file mode 100644 index 0000000000..2c7c93e28f --- /dev/null +++ b/srcpkgs/libdca/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.0.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/libdca/libdca-devel.template b/srcpkgs/libdca/libdca-devel.template new file mode 100644 index 0000000000..feb9b94365 --- /dev/null +++ b/srcpkgs/libdca/libdca-devel.template @@ -0,0 +1,18 @@ +# Template file for 'libdca-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 libdca + +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/libdca/template b/srcpkgs/libdca/template new file mode 100644 index 0000000000..0d2313b7d6 --- /dev/null +++ b/srcpkgs/libdca/template @@ -0,0 +1,15 @@ +# Template file for 'libdca' +pkgname=libdca +version=0.0.5 +distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="DTS Coherent Acoustics decoder" +maintainer="Juan RP " +checksum=dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642 +long_desc=" + libdca is a free library for decoding DTS Coherent Acoustics streams. + The DTS Coherent Acoustics standard is used in a variety of applications, + including DVD, DTS audio CD and radio broadcasting." + +subpackages="$pkgname-devel" +Add_dependency run glibc