blob: 6b48a2103d1347928b295af8b8400d7d9fbef186 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
pkgver=1.0.22
pkgrel=1
pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
url="http://www.alsa-project.org"
license="GPL"
makedepends="alsa-lib-dev pciutils-dev ncurses-dev"
depends="dialog"
subpackages="$pkgname-doc"
source="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$pkgver.tar.bz2
alsaconf.patch
alsa.initd
alsa.confd
"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
patch -Np1 -i ../alsaconf.patch || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--disable-xmlto \
|| return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa
install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa
}
md5sums="f7180316188552ee1e6759a03f1fe98d alsa-utils-1.0.22.tar.bz2
5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
4a66dad46d5366e05098cde97f3d37b5 alsa.initd
85b1f1e759fe5953eca329237f4ac256 alsa.confd"
|