wok-4.x rev 8405

Add p910nd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 21:37:17 2011 +0100 (2011-02-05)
parents f25f2e389934
children 7e7b005cf2b3
files p910nd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/p910nd/receipt	Sat Feb 05 21:37:17 2011 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="p910nd"
     1.7 +VERSION="0.93"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +TAGS="printer"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
    1.21 +	make DESTDIR=$PWD/_pkg install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr $fs/etc/init.d
    1.28 +	cp -a $_pkg/usr/sbin $fs/usr
    1.29 +	ln -s daemon $fs/etc/init.d/p910nd
    1.30 +}
    1.31 +