#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented is optional and can be deleted pkgname=btpd-webui pkgver=r16 pkgrel=1rl $arch=noarch source=("$pkgname-$pkgver.src.tar.gz" \ rc.btpd-webui) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("authors" "install" "readme" "copying") url=http://code.google.com/p/btpd-webui/ #dotnew=() #CFLAGS= #CXXFLAGS= options=('noautodotnew') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "btpd-webui (a webui for the Bittorrent Protocal Daemon)" "BTPDwebui is a simple webui for the Bittorrent Protocol Daemon (btpd)." "It allows the user to add, start, stop, and delete torrents from btpd," "as well as view the status of current torrents." "" "This salix build of btpd-webui is specifically configured to work with" "Salix's btpd package." ) build() { cd $startdir/src/$pkgname python setup.py install --prefix=/usr --root=$startdir/pkg mkdir -p $startdir/pkg/etc/rc.d/ install -m 755 $startdir/src/rc.btpd-webui $startdir/pkg/etc/rc.d/rc.btpd-webui }