summaryrefslogtreecommitdiffstats
path: root/testing/alsa-utils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-17 10:06:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-17 10:06:29 +0000
commitbbad1f08e715426b072f41d0375268ba04b1a884 (patch)
tree662bc4ed92619406537313f34f63b3dfe091e626 /testing/alsa-utils/APKBUILD
parentf3e62894a249458ec611545bb17389b5147f240c (diff)
downloadaports-bbad1f08e715426b072f41d0375268ba04b1a884.tar.bz2
aports-bbad1f08e715426b072f41d0375268ba04b1a884.tar.xz
testing/alsa-utils: new aport
Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.) http://www.alsa-project.org
Diffstat (limited to 'testing/alsa-utils/APKBUILD')
-rw-r--r--testing/alsa-utils/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/alsa-utils/APKBUILD b/testing/alsa-utils/APKBUILD
new file mode 100644
index 000000000..d045fa350
--- /dev/null
+++ b/testing/alsa-utils/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=alsa-utils
+pkgver=1.0.21
+pkgrel=0
+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
+ "
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -Np1 -i ../alsaconf.patch || return 1
+ ./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="3672287c2608040d111ce45495ba7602 alsa-utils-1.0.21.tar.bz2
+5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
+4a66dad46d5366e05098cde97f3d37b5 alsa.initd
+85b1f1e759fe5953eca329237f4ac256 alsa.confd"