summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/cmake/PKGBUILD33
-rw-r--r--abs/extra-testing/community/djmount/PKGBUILD25
-rw-r--r--abs/extra-testing/community/djmount/djmount.confd2
-rwxr-xr-xabs/extra-testing/community/djmount/djmount.rcd39
-rw-r--r--abs/extra-testing/libjpeg/PKGBUILD28
-rw-r--r--abs/extra-testing/xmlrpc-c/PKGBUILD32
6 files changed, 66 insertions, 93 deletions
diff --git a/abs/extra-testing/cmake/PKGBUILD b/abs/extra-testing/cmake/PKGBUILD
deleted file mode 100644
index 60e7f35..0000000
--- a/abs/extra-testing/cmake/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 27686 2009-02-24 20:21:28Z pierre $
-# Maintainer: Pierre Schmitz <pierre@archlinux.de>
-# Contributor: damir <damir@archlinux.org>
-# Contributor: Konstantinos Pachnis <kpachnis@mes-direct.com>
-
-pkgname=cmake
-pkgver=2.6.3
-pkgrel=1
-pkgdesc="CMake is a cross-platform open-source make system"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://www.cmake.org"
-depends=('expat' 'xmlrpc-c')
-makedepends=('qt')
-optdepends=('qt: cmake-gui')
-source=("http://www.cmake.org/files/v2.6/$pkgname-$pkgver.tar.gz")
-md5sums=('5ba47a94ce276f326abca1fd72a7e7c6')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./bootstrap --prefix=/usr \
- --mandir=/share/man \
- --docdir=/share/doc/cmake \
- --system-libs \
- --qt-gui
- make || return 1
- make DESTDIR=$pkgdir install
-
- install -D -m644 Docs/cmake-indent.vim $pkgdir/usr/share/vim/indent/cmake-indent.vim
- install -D -m644 Docs/cmake-syntax.vim $pkgdir/usr/share/vim/syntax/cmake-syntax.vim
- install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el
- install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt
-}
diff --git a/abs/extra-testing/community/djmount/PKGBUILD b/abs/extra-testing/community/djmount/PKGBUILD
new file mode 100644
index 0000000..a3648dc
--- /dev/null
+++ b/abs/extra-testing/community/djmount/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Michele Schäuble <mschaeuble@swissonline.ch>
+
+pkgname=djmount
+pkgver=0.71
+pkgrel=1
+pkgdesc="A UPnP AV client that mounts media server contents as a filesystem."
+arch=('i686')
+url="http://djmount.sourceforge.net/"
+license=('GPL')
+depends=('fuse')
+source=(http://voxel.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
+ djmount.rcd djmount.confd)
+md5sums=('c922753e706c194bf82a8b6ca77e6a9a' \
+ 'f473b5150df385447f2f58049bfb6199' \
+ '21de4c947c17e8558f1007a20757f254')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+
+ install -D -m755 $startdir/src/djmount.rcd $startdir/pkg/etc/rc.d/djmount
+ install -D -m644 $startdir/src/djmount.confd $startdir/pkg/etc/conf.d/djmount
+}
diff --git a/abs/extra-testing/community/djmount/djmount.confd b/abs/extra-testing/community/djmount/djmount.confd
new file mode 100644
index 0000000..079100e
--- /dev/null
+++ b/abs/extra-testing/community/djmount/djmount.confd
@@ -0,0 +1,2 @@
+OPTIONS="-o ro,allow_other"
+MOUNTPOINT="/media/upnp"
diff --git a/abs/extra-testing/community/djmount/djmount.rcd b/abs/extra-testing/community/djmount/djmount.rcd
new file mode 100755
index 0000000..84899dd
--- /dev/null
+++ b/abs/extra-testing/community/djmount/djmount.rcd
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+ . /etc/rc.conf
+ . /etc/rc.d/functions
+
+# source application-specific settings
+[ -f /etc/conf.d/djmount ] && . /etc/conf.d/djmount
+
+ case "$1" in
+
+ start)
+ stat_busy "Starting djmount"
+ /usr/bin/djmount $OPTIONS $MOUNTPOINT &>/dev/null
+ if [ $? -ne 0 ]; then
+ stat_fail
+ else
+ add_daemon djmount
+ stat_done
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping djmount"
+ fusermount -u $MOUNTPOINT
+ kill -9 `pidof /usr/bin/djmount` &>/dev/null
+ rm_daemon djmount
+ stat_done
+ ;;
+
+ restart)
+ stat_busy "Restarting djmount ..."
+ $0 stop
+ $0 start
+ stat_done
+ ;;
+
+ *)
+ echo "usage: $0 {start|stop|restart}"
+ esac
diff --git a/abs/extra-testing/libjpeg/PKGBUILD b/abs/extra-testing/libjpeg/PKGBUILD
deleted file mode 100644
index 996ae6c..0000000
--- a/abs/extra-testing/libjpeg/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 19605 2008-11-28 10:52:08Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=libjpeg
-pkgver=6b
-pkgrel=6
-pkgdesc="Library of JPEG support functions"
-arch=('i686' 'x86_64')
-url="http://www.ijg.org/"
-license=('custom')
-depends=('glibc')
-makedepends=('libtool')
-options=(!libtool)
-source=(ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v$pkgver.tar.gz)
-md5sums=('dbd5f3b47ed13132f04c685d608a7547')
-
-build() {
- cd $srcdir/jpeg-$pkgver
- cp /usr/share/libtool/config/config.{guess,sub} .
- sed -i "s#./libtool#libtool#" configure
- ./configure --prefix=/usr --enable-shared --enable-static
- make || return 1
- mkdir -p $pkgdir/usr/{bin,lib,include,share/man/man1}
- make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man/man1 install
- install -m644 jpegint.h $pkgdir/usr/include
- install -Dm644 README $pkgdir/usr/share/licenses/libjpeg/README
-}
diff --git a/abs/extra-testing/xmlrpc-c/PKGBUILD b/abs/extra-testing/xmlrpc-c/PKGBUILD
deleted file mode 100644
index 4a1057e..0000000
--- a/abs/extra-testing/xmlrpc-c/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre@archlinux.de>
-# Contributor: Vitaliy Berdinskikh <skipper13@root.ua>
-
-pkgname=xmlrpc-c
-pkgver=1.06.32
-pkgrel=1
-pkgdesc='This library provides a modular implementation of XML-RPC for C and C++'
-arch=('i686' 'x86_64')
-url='http://xmlrpc-c.sourceforge.net/'
-license=('custom')
-depends=('curl' 'libxml2')
-makedepends=('libtool')
-options=('!makeflags' '!libtool')
-source=("http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-${pkgver}.tgz")
-md5sums=('1a5a0771a22e75819d90e7fab38ef377')
-
-build() {
- [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
-
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr \
- --enable-libxml2-backend \
- --disable-cgi-server \
- --disable-abyss-server \
- --disable-libwww-client \
- --disable-wininet-client
-
- make CFLAGS_PERSONAL="${CFLAGS}" || return 1
- make DESTDIR=$pkgdir install
-
- install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING
-}