2011-06-09 21:54:23 +00:00
|
|
|
# Maintainer: Wieland Hoffmann <the_mineo@web.de>
|
2010-12-22 01:39:15 +00:00
|
|
|
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
|
2011-01-11 04:06:24 +00:00
|
|
|
|
|
|
|
plugrel=1
|
|
|
|
|
2010-12-22 01:39:15 +00:00
|
|
|
pkgname=p910nd
|
2011-06-09 21:54:23 +00:00
|
|
|
pkgver=0.95
|
2010-12-22 01:39:15 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A small printer daemon intended for diskless workstations that passes jobs directly to the printer"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://p910nd.sourceforge.net"
|
|
|
|
license=('GPL2')
|
|
|
|
backup=('etc/conf.d/p910nd')
|
|
|
|
options=('emptydirs')
|
|
|
|
source=(http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
|
|
|
|
$pkgname.init)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-06-09 21:54:23 +00:00
|
|
|
sed -e "s|/var/lock/subsys|/var/lock/$pkgname|" -i $pkgname.c
|
|
|
|
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d
|
|
|
|
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d DESTDIR=$pkgdir install
|
|
|
|
install -m755 $srcdir/$pkgname.init $pkgdir/etc/rc.d/$pkgname
|
2010-12-22 01:39:15 +00:00
|
|
|
install -d -m755 $pkgdir/var/lock/$pkgname
|
|
|
|
chmod 1777 $pkgdir/var/lock
|
|
|
|
}
|
2011-06-09 21:54:23 +00:00
|
|
|
md5sums=('c7ac6afdf7730ac8387a8e87198d4491'
|
|
|
|
'e44be17ad714c366300289cb8aaa3f3a')
|