diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 14:05:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-29 14:05:15 +0000 |
commit | 4af401f41b5cd69b4b41d0640d232d0502a188ac (patch) | |
tree | a5c584cd90b2dc45754648e891340b2d1cc58af6 /testing/icecast/APKBUILD | |
parent | 4e307f139bef6d2f63b573f59da4e3376b9259e5 (diff) | |
download | aports-4af401f41b5cd69b4b41d0640d232d0502a188ac.tar.bz2 aports-4af401f41b5cd69b4b41d0640d232d0502a188ac.tar.xz |
testing/icecast: added init.d script from gentoo
Diffstat (limited to 'testing/icecast/APKBUILD')
-rw-r--r-- | testing/icecast/APKBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/testing/icecast/APKBUILD b/testing/icecast/APKBUILD index b9d34f42e6..73135371a3 100644 --- a/testing/icecast/APKBUILD +++ b/testing/icecast/APKBUILD @@ -6,10 +6,11 @@ pkgrel=0 pkgdesc="Open source media server" url="http://www.icecast.org" license="GPL" -depends="busybox" +depends= makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev" subpackages="$pkgname-doc" -source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" +source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz + icecast.initd" build() { cd "$srcdir"/$pkgname-$pkgver @@ -18,8 +19,14 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info - make || return 1 + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install + install -D -m755 ../icecast.initd "$pkgdir"/etc/init.d/icecast } -md5sums="ff516b3ccd2bcc31e68f460cd316093f icecast-2.3.2.tar.gz" +md5sums="ff516b3ccd2bcc31e68f460cd316093f icecast-2.3.2.tar.gz +b6f2fc5eaada6e9389784ccf43f68684 icecast.initd" |