aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnump3d/APKBUILD
blob: 7f16002ce93530df13f53c91e430b6036167037c (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="GPL2"
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
0fd5435e668ce34e5f9f783f3e0ac8ea  gnump3d.initd"