aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-11 13:59:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-11 13:59:35 +0000
commit67bd5d5d0fc6f7eb4b14dcbefa8a73adad050733 (patch)
tree5215c06b2fc569286127e2230ecd82df61f67a3a /main/lighttpd
parent6541bb857f114f70334258d87892d03d34f4d775 (diff)
downloadaports-67bd5d5d0fc6f7eb4b14dcbefa8a73adad050733.tar.bz2
aports-67bd5d5d0fc6f7eb4b14dcbefa8a73adad050733.tar.xz
main/lighttpd: place h264 streaming module in subpackage
due to license
Diffstat (limited to 'main/lighttpd')
-rw-r--r--main/lighttpd/APKBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD
index 2173b63e28..49e73ce99e 100644
--- a/main/lighttpd/APKBUILD
+++ b/main/lighttpd/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lighttpd
pkgver=1.4.25
_streamver=2.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="a secure, fast, compliant and very flexible web-server"
url="http://www.lighttpd.net/"
license="custom"
@@ -22,7 +22,7 @@ source="http://download.lighttpd.net/lighttpd/releases-1.4.x/$pkgname-$pkgver.ta
mod_cgi.conf
mod_fastcgi.conf
"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-h264_streaming"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -91,6 +91,16 @@ package() {
install -m644 "$srcdir"/$i "$pkgdir"/etc/lighttpd/$i
done
}
+
+h264_streaming() {
+ pkgdesc="H264 Streaming Module for lighttpd"
+ url="http://h264.code-shop.com/trac"
+ license="CCPL-nc-sa-3.0"
+ mkdir -p "$subpkgdir"/usr/lib/lighttpd
+ mv "$pkgdir"/usr/lib/lighttpd/mod_h264_streaming.so \
+ "$subpkgdir"/usr/lib/lighttpd/
+}
+
md5sums="2027c49fb46530e45338c5e2da13c02f lighttpd-1.4.25.tar.bz2
ac37885c881a058194405232e7737a7a lighttpd-1.4.18_mod_h264_streaming-2.2.0.tar.gz
36c4ddbc266017dc193fcb0cdd1d84e1 lighttpd.initd