aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnump3d/APKBUILD
blob: ff26e2df7d6dd9b0ad19a85bc7655c86a2c0b75b (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
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=gnump3d
pkgver=3.0
pkgrel=1
pkgdesc="A streaming server for MP3, OGG vorbis and other streamable files"
url="http://www.gnump3d.org/"
arch="all"
license="GPL-2"
depends="perl"
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://savannah.gnu.org/download/gnump3d/$pkgname-$pkgver.tar.gz
	gnump3d.confd
	gnump3d.initd"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	make PREFIX="$pkgdir" install
	
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
	mv "$pkgdir"/usr/local "$pkgdir"-doc/
}

md5sums="d2b665c3267253cc8cae29659131b9b4  gnump3d-3.0.tar.gz
59f0286d4c943226a67ab7b7787547c6  gnump3d.confd
5202488dff1c7e6c6788fb00fb32f071  gnump3d.initd"