wok diff p910nd/receipt @ rev 11708
Up: cookutils (1.6)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 19 12:18:24 2012 +0100 (2012-02-19) |
parents | |
children | 62efb7562aad |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/p910nd/receipt Sun Feb 19 12:18:24 2012 +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 +