Added libsndfile-1.0.21 build template.

--HG--
extra : convert_revision : 4ce45fa0dc6ea662d8930150920710f272c6d40f
This commit is contained in:
Juan RP 2009-12-22 21:25:50 +01:00
parent c7b4316e67
commit d5cf470b59
6 changed files with 65 additions and 0 deletions

1
srcpkgs/libsndfile-devel Symbolic link
View File

@ -0,0 +1 @@
libsndfile

1
srcpkgs/libsndfile-progs Symbolic link
View File

@ -0,0 +1 @@
libsndfile

View File

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

View File

@ -0,0 +1,21 @@
# Template file for 'libsndfile-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run alsa-lib-devel
Add_dependency run libvorbis-devel
Add_dependency run libflac-devel
Add_dependency run libsndfile
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
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

View File

@ -0,0 +1,18 @@
# Template file for 'libsndfile-progs'.
#
short_desc="${sourcepkg} - bundled cmdline apps"
long_desc="${long_desc}
This package contains the command line applications that use
libsndfile."
Add_dependency run alsa-lib
Add_dependency run sqlite
Add_dependency run libsndfile
do_install()
{
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/man ${DESTDIR}/usr/share
}

View File

@ -0,0 +1,22 @@
# Template file for 'libsndfile'
pkgname=libsndfile
version=1.0.21
distfiles="http://www.mega-nerd.com/$pkgname/files/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="C library for reading and writing files containing sampled sound"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=7e9083a2551ff347276d82cdb61f2b4f9cd137c0b76433800e991583ded8ea67
long_desc="
Libsndfile is a C library for reading and writing files containing
sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
through one standard library interface."
subpackages="$pkgname-progs $pkgname-devel"
Add_dependency run glibc
Add_dependency run libogg
Add_dependency run libvorbis
Add_dependency run libflac
Add_dependency build alsa-lib-devel
Add_dependency build libvorbis-devel ">=1.2.3"
Add_dependency build libflac-devel
Add_dependency build sqlite-devel