summaryrefslogtreecommitdiffstats
path: root/testing/madplay/APKBUILD
blob: daa367278d0245b2d49bf0c77fbd6f27ee93b921 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=madplay
pkgver=0.15.2b
pkgrel=1
pkgdesc="The MAD audio player"
url="http://www.underbit.com/products/mad/"
license="GPL-2"
depends=""
makedepends="alsa-lib-dev libmad-dev libid3tag-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/mad/madplay-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--disable-nls \
		--with-alsa \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="6814b47ceaa99880c754c5195aa1aac1  madplay-0.15.2b.tar.gz"