1 # Maintainer: Ernie Brodeur <ebrodeur@ujami.net>
2 # Originally this was the junglediskdesktop PKG. I have modified it to download and install the server management software.
4 pkgname=junglediskserver
8 pkgdesc="Online backup and storage powered by Amazon S3™ and Rackspace. This is the server daemon only."
10 url="http://www.jungledisk.com/"
13 if [ "${CARCH}" == "i686" ]; then
14 source=(http://downloads.jungledisk.com/jungledisk/${pkgname}3${_subver}.tar.gz)
15 md5sums=('de255303aed2bbfb73650de84a9ec443')
16 elif [ "${CARCH}" == "x86_64" ]; then
17 source=(http://downloads.jungledisk.com/jungledisk/${pkgname}64-3${_subver}.tar.gz)
18 md5sums=('48aec9d805e489e8511c2dfccfe96a96')
25 install -d "$pkgdir/usr/bin/"
28 install -D $pkgname "$pkgdir/usr/bin/"
31 install -D INSTALL "$pkgdir/usr/share/doc/${pkgname}/INSTALL"
33 # init.d (Probably shouldn't make this relative like this, just trying to get it working.)
34 install -D -m755 ../../junglediskserver.rc "$pkgdir/etc/rc.d/${pkgname}"
37 install -D -m600 junglediskserver-license-EXAMPLE.xml "$pkgdir/etc/jungledisk/junglediskserver-license-EXAMPLE.xml"