29 lines
764 B
Bash
29 lines
764 B
Bash
# Template file for 'alsa-lib'
|
|
pkgname=alsa-lib
|
|
version=1.2.1.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config automake libtool"
|
|
short_desc="Advanced Linux Sound Architecture (ALSA) library"
|
|
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.alsa-project.org"
|
|
distfiles="ftp://ftp.alsa-project.org/pub/lib/${pkgname}-${version}.tar.bz2"
|
|
checksum=958e260e3673f1f6ff6b2d2c0df3fc2e469bea5b2957163ce96ce17f23e87943
|
|
patch_args="-Np1"
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|
|
|
|
alsa-lib-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|