aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/darwin-streaming-server/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-23 06:42:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-23 06:42:00 +0000
commitea586260e34b04432ea8ebf824e3f4c66341ed74 (patch)
treeaca43736ada8ce64154669de1e7a1e07af22c3a8 /unmaintained/darwin-streaming-server/APKBUILD
parentcc4653d969b7e6ea0917f810b12f8dea9a1538b7 (diff)
downloadaports-ea586260e34b04432ea8ebf824e3f4c66341ed74.tar.bz2
aports-ea586260e34b04432ea8ebf824e3f4c66341ed74.tar.xz
unmaintained/darwin-streaming-server: moved from testing, project seems abandoned
Diffstat (limited to 'unmaintained/darwin-streaming-server/APKBUILD')
-rw-r--r--unmaintained/darwin-streaming-server/APKBUILD84
1 files changed, 84 insertions, 0 deletions
diff --git a/unmaintained/darwin-streaming-server/APKBUILD b/unmaintained/darwin-streaming-server/APKBUILD
new file mode 100644
index 0000000000..fd60f5c546
--- /dev/null
+++ b/unmaintained/darwin-streaming-server/APKBUILD
@@ -0,0 +1,84 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=darwin-streaming-server
+_pkgname=DarwinStreamingSrvr
+pkgver=6.0.3
+pkgrel=1
+pkgdesc="Open source version of Apple's QuickTime Streaming Server technology"
+url="http://dss.macosforge.org/"
+arch="all"
+license="Custom"
+depends="perl"
+depends_dev="perl"
+makedepends="$depends_dev"
+install="$pkgname.post-install"
+subpackages="$pkgname-doc"
+pkggroups="qtss"
+source="http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
+ dss-hh-20080728-1.patch
+ dss-6.0.3.patch
+ dss.initd"
+_builddir="$srcdir"/"$_pkgname$pkgver-Source"
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./Buildit || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/usr/sbin
+ mkdir -p "$pkgdir"/var/run/darwinstreaming
+ mkdir -p "$pkgdir"/var/darwinstreaming
+ mkdir -p -m 775 "$pkgdir/var/darwinstreaming/movies"
+ mkdir -p -m 770 "$pkgdir/var/darwinstreaming/playlists"
+ mkdir -p "$pkgdir/usr/sbin/StreamingServerModules"
+ install -D -m0755 "$srcdir"/dss.initd "$pkgdir/etc/init.d/dss"
+ install -D -m 644 APPLE_LICENSE "$pkgdir/usr/share/licenses/$pkgname/APPLE_LICENSE"
+ install ./StreamingLoadTool/StreamingLoadTool "$pkgdir/usr/bin/StreamingLoadTool"
+ install ./WebAdmin/src/streamingadminserver.pl "$pkgdir/usr/sbin/streamingadminserver.pl"
+ install -D -m 600 relayconfig.xml-Sample "$pkgdir/etc/darwinstreaming/relayconfig.xml-Sample"
+ echo "realm Streaming Server" > "$pkgdir/etc/darwinstreaming/qtusers"
+ chmod 600 "$pkgdir/etc/darwinstreaming/qtusers"
+ echo "admin: " > "$pkgdir/etc/darwinstreaming/qtgroups"
+ chmod 600 "$pkgdir/etc/darwinstreaming/qtgroups"
+ install -m 644 -D ./Documentation/readme.txt "$pkgdir/var/darwinstreaming/readme.txt"
+ install -m 644 ./Documentation/3rdPartyAcknowledgements.rtf "$pkgdir/var/darwinstreaming/3rdPartyAcknowledgements.rtf"
+ install -m 644 sample_100kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mov"
+ install -m 644 sample_300kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mov"
+ install -m 644 sample_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mp4"
+ install -m 644 sample_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mp4"
+ install -m 644 sample.mp3 "$pkgdir/var/darwinstreaming/movies/sample.mp3"
+ install -m 644 sample_50kbit.3gp "$pkgdir/var/darwinstreaming/movies/sample_50kbit.3gp"
+ install -m 644 sample_h264_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_100kbit.mp4"
+ install -m 644 sample_h264_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_300kbit.mp4"
+ install -m 644 sample_h264_1mbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_1mbit.mp4"
+ install -m 644 StreamingLoadTool/streamingloadtool.conf "$pkgdir/etc/darwinstreaming/loadtool.conf"
+ cp -f -r ./WebAdmin/WebAdminHtml "$pkgdir/var/darwinstreaming"
+ mv "$pkgdir/var/darwinstreaming/WebAdminHtml" "$pkgdir/var/darwinstreaming/AdminHtml"
+ install -m 644 ./WebAdmin/streamingadminserver_Darwin.conf "$pkgdir/etc/darwinstreaming/adminserver.conf"
+}
+
+md5sums="ca676691db8417d05121699c0ca3d549 DarwinStreamingSrvr6.0.3-Source.tar
+4a55c16f291f60056f38ee687680c769 dss-hh-20080728-1.patch
+ee10f86fd27ef2da68782414e30cd226 dss-6.0.3.patch
+aeb9cff914e598fa1a96c9e34d9ad535 dss.initd"
+sha256sums="7bf75ced3f603f55c6f7601bfecd9f26393ea98be821d24169f2091843706522 DarwinStreamingSrvr6.0.3-Source.tar
+ed2c25242c862bade182c1329c84b6003c6d5ed31ef6a00fc7364d224bad137a dss-hh-20080728-1.patch
+13741e14f704d3b0db00100c9213ff0bec104403622905e92f370d846bf8f2ea dss-6.0.3.patch
+f1e84078fe122a9e0debb3508e959b4f8bd7655bdb0cce25b32b7a477c0d61f0 dss.initd"
+sha512sums="f507c8e01ca6f81e1d00a85fb137486d026817015178593c2a5de1dde34f809bc48b1348ea661a94ee0913811d23d0c204d28c29af0c1c9d69bd31eeefd9af85 DarwinStreamingSrvr6.0.3-Source.tar
+2706e75e8ffca0096f2cd53b5c0d3a8b5577766fac9bbfa9c03a894c18ea13f01117adca52e6f539233971ccc283c2751d02e8a8cd44427c07b2569e9369bfd0 dss-hh-20080728-1.patch
+299e330fd39a263ffebb573b9c5c8b264b203ba9cab108d074f34234491f25d84a929c3bfee045655abdb2564ea8201c0abebbdc36d5ee70399b3684a8c23f50 dss-6.0.3.patch
+16755dcd3625f21ac6ab138e1a5b5c8589b9dc46add974065786db764dbd02f734f945aeb6f05e7b3d4cc80c804d2c1c8ac21e6e41264b3b9445687bad9b418c dss.initd"