aboutsummaryrefslogtreecommitdiffstats
path: root/main/umix/APKBUILD
blob: b9e55f803f93d443a5574def87cd647c24256d7a (plain) (blame)
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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=umix
pkgver=1.0.2
pkgrel=7
pkgdesc="Program for adjusting soundcard volumes"
url="http://umix.sf.net"
arch="all"
license="GPL2+"
depends=""
makedepends="linux-headers ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/umix-$pkgver
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e38fc288273cc8b5b34f8769f06b32ee  umix-1.0.2.tar.gz"