blob: 9e2695feed7e3d642909132c411cd3935f8f6222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
pkgver=1.1.9
pkgrel=1
pkgdesc="Advanced Linux Sound Architecture (ALSA) utilities"
url="http://www.alsa-project.org"
arch="all"
options="!check" # No test suite, applets use ncurses / don't have --version
license="GPL-2.0-or-later"
makedepends="alsa-lib-dev fftw-dev ncurses-dev pciutils-dev xmlto"
depends="dialog"
subpackages="$pkgname-doc alsaconf::noarch $pkgname-dbg $pkgname-openrc"
source="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-$pkgver.tar.bz2
alsaconf.patch
alsa.initd
alsa.confd
"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-nls
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa
install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa
}
alsaconf() {
depends="alsa-utils bash"
cd "$builddir"
mkdir -p "$subpkgdir"/usr/sbin
mv "$pkgdir"/usr/sbin/alsaconf \
"$subpkgdir"/usr/sbin
}
sha512sums="92fa689ea5897150972d5376e7999ff060cad09cb0b06991d81c87b61a243ecec944e2a4c7ad38878596cd8b4246e44c5a3a35e5bc6452c02ebf35c9bed91970 alsa-utils-1.1.9.tar.bz2
f04155e1e391c7f36d44422c8e769bf9370117f6bbea6c0664e9858f7a676cc958e4260e4b4d226e71d0716f6be4e6fdd60f1d07cb7e9922fff378ceec01c47d alsaconf.patch
a981bd87cb0b2e52a4b1bd4fc6870bc3fadca46a6810da8143e0c0344535b688bdc6d5eb0a797f8263e153b146eb7ae7cb77d6b2415f5aaa869a717c4c8d6da4 alsa.initd
6e716e6230fd3d2c33e3cb2dbf572d632c9ac6452c1768388bea7d3ca22f7c72cf6bcd702580f45cb9089983582011c8b04cbdb4420d14fb988167b1391ea547 alsa.confd"
|