void-packages/srcpkgs/alsa-lib/template

25 lines
726 B
Bash

# Template file for 'alsa-lib'
pkgname=alsa-lib
version=1.2.3.1
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=1244585515fbebce7d0e53656c1fb614f99accb8413115ce3efb9a9309c4c892
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
}
}