blob: 7d1386f514fbda801ddc26d5c18862442026f1cd (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aumix
pkgver=2.9.1
pkgrel=2
pkgdesc="A color text mode sound mixer"
url="http://www.jpj.net/~trevor/aumix.html"
arch="all"
license="GPL2+"
depends=""
makedepends="ncurses-dev"
source="http://jpj.net/~trevor/aumix/releases/aumix-$pkgver.tar.bz2
aumix.initd
"
_builddir="$srcdir"/aumix-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--without-gtk1 \
--without-gtk \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/aumix
}
md5sums="34f28ae1c94fc5298e8bb2688c4b3a20 aumix-2.9.1.tar.bz2
affaa735ad9b65a540842994caba18fd aumix.initd"
|