aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-utils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-03 10:09:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-03 10:09:26 +0000
commit0963bf60e0ffaeaaaf08932f1a60c9006a414c7d (patch)
tree2fdbe389d059507a0f50d5f2f8e0e578316e51ec /main/alsa-utils/APKBUILD
parent66f5b80eb38b6135f511102043627841b88a2782 (diff)
downloadaports-0963bf60e0ffaeaaaf08932f1a60c9006a414c7d.tar.bz2
aports-0963bf60e0ffaeaaaf08932f1a60c9006a414c7d.tar.xz
main/alsa-utils: moved from testing
Diffstat (limited to 'main/alsa-utils/APKBUILD')
-rw-r--r--main/alsa-utils/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD
new file mode 100644
index 0000000000..8894a9cb72
--- /dev/null
+++ b/main/alsa-utils/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=alsa-utils
+pkgver=1.0.23
+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
+ "
+
+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="cb0cf46029ac9549cf3a31bff6a4f4e1 alsa-utils-1.0.23.tar.bz2
+5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
+4a66dad46d5366e05098cde97f3d37b5 alsa.initd
+85b1f1e759fe5953eca329237f4ac256 alsa.confd"