Added alsa-lib-1.0.20 template.

--HG--
extra : convert_revision : d023b09cbfb4a67a06fae6a2e7a88e27e5510acd
This commit is contained in:
Juan RP 2009-05-15 06:11:50 +02:00
parent f0162e0e70
commit 9440044a67
4 changed files with 44 additions and 0 deletions

1
templates/alsa-lib-devel Symbolic link
View File

@ -0,0 +1 @@
alsa-lib

View File

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

View File

@ -0,0 +1,21 @@
# Template file for 'alsa-lib-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
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/alsa-lib/smixer
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/alsa-lib/smixer/*.*a \
${DESTDIR}/usr/lib/alsa-lib/smixer
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
}

View File

@ -0,0 +1,20 @@
# Template build file for 'alsa-lib'.
pkgname=alsa-lib
sourcepkg=$pkgname
version=1.0.20
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=15f8d0eef1da10c62136107e7b585bc8beb9c9e9b7ad177654097f8c15e57a63
long_desc="
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system.
This package includes the ALSA runtime libraries to simplify application
programming and provide higher level functionality as well as support for
the older OSS API, providing binary compatibility for most OSS programs."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency full glibc