void-packages/srcpkgs/alsa-lib/template

25 lines
726 B
Bash

# Template file for 'alsa-lib'
pkgname=alsa-lib
version=1.2.3.2
revision=1
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=e81fc5b7afcaee8c9fd7f64a1e3043e88d62e9ad2c4cff55f578df6b0a9abe15
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
}
}