# Contributor: Leonardo Arena # Maintainer: Natanael Copa setvar pkgname = 'alsa-utils' setvar pkgver = '1.1.4' setvar pkgrel = '0' setvar pkgdesc = ""Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"" setvar url = ""http://www.alsa-project.org"" setvar arch = ""all"" setvar license = ""GPL"" setvar makedepends = ""alsa-lib-dev pciutils-dev ncurses-dev fftw-dev"" setvar depends = ""dialog"" setvar subpackages = ""$pkgname-doc alsaconf::noarch $pkgname-dbg"" setvar source = ""ftp://ftp.alsa-project.org/pub/utils/$pkgname-$pkgver.tar.bz2 alsaconf.patch alsa.initd alsa.confd "" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { update_config_sub default_prepare } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-xmlto \ --disable-nls make } proc 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 } proc alsaconf { setvar depends = ""alsa-utils bash"" cd $builddir mkdir -p "$subpkgdir"/usr/sbin mv "$pkgdir"/usr/sbin/alsaconf \ "$subpkgdir"/usr/sbin || return 1 } setvar sha512sums = ""96852b3f5b57d7d9078a20881f28311543d446b69c80450179823a225089df7306456991890a7ef37672c1f55e9c386a7731c94e125504dcda2c88a674c8b4c7 alsa-utils-1.1.4.tar.bz2 bc9f1297574fe4d5bd9baa3f299d68684182f1e6eeb51c862cd6236563516f57a160a00d6607540830aebbb8c4352faf416a981edc878e8a256cbbcc95648614 alsaconf.patch 8a52e6363d5dcfb16e1e607e1af3e46a2148989689e5ab04caf05f84dc68b34cc003b1cf0945ce2c3670cc7f3ef0e40824f689f1efa2d09177c82b13571a7168 alsa.initd 6e716e6230fd3d2c33e3cb2dbf572d632c9ac6452c1768388bea7d3ca22f7c72cf6bcd702580f45cb9089983582011c8b04cbdb4420d14fb988167b1391ea547 alsa.confd""