summaryrefslogtreecommitdiffstats
path: root/abs/extra/mediaserv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mediaserv/PKGBUILD')
-rw-r--r--abs/extra/mediaserv/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra/mediaserv/PKGBUILD b/abs/extra/mediaserv/PKGBUILD
new file mode 100644
index 0000000..0ed43fa
--- /dev/null
+++ b/abs/extra/mediaserv/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=mediaserv
+pkgver=0.05
+pkgrel=5
+pkgdesc="On-demand transcoding server for videos, targetting the Nokia Internet Tablets."
+arch=('i686' 'x86_64')
+license=('ARTISTIC')
+depends=('tablet-encode' 'perl-xml-rss')
+backup=(/myth/mediaserv/config)
+install=(mediaserv.install)
+url="http://mediautils.garage.maemo.org/tablet-encode.html"
+source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2 mediaserv.no_daemon.patch run finish)
+
+build() {
+ cd ${srcdir}/mediaserv
+ patch -Np1 -i ${startdir}/src/mediaserv.no_daemon.patch || return 1
+ mkdir -p $startdir/pkg/usr/bin
+ mkdir -p $startdir/pkg/etc/sv/mediaserv/supervise
+ mkdir -p $startdir/pkg/usr/share/doc/mediaserv
+ mkdir -p $startdir/pkg/myth/mediaserv
+ mkdir -p $startdir/pkg/myth/mediaserv/media
+ install -D -m755 mediaserv $startdir/pkg/usr/bin
+ cp README.txt $startdir/pkg/usr/share/doc/mediaserv
+ cp -a ${srcdir}/.mediaserv/* ${pkgdir}/myth/mediaserv
+ install -D -m755 ${srcdir}/run ${srcdir}/finish $startdir/pkg/etc/sv/mediaserv
+}