void-packages/srcpkgs/alsa-lib/template

24 lines
724 B
Bash

# Template file for 'alsa-lib'
pkgname=alsa-lib
version=1.2.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config 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="https://www.alsa-project.org/files/pub/lib/${pkgname}-${version}.tar.bz2"
checksum=f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7
patch_args="-Np1"
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
}
}