wok view p910nd/receipt @ rev 15547

Up: firefox-langpack-zh_TW (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:36:44 2013 +0100 (2013-11-24)
parents 62efb7562aad
children 6c0d5218c80f
line source
1 # SliTaz package receipt.
3 PACKAGE="p910nd"
4 VERSION="0.95"
5 CATEGORY="network"
6 SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="printer"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
19 make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/etc/init.d
26 cp -a $install/usr/sbin $fs/usr
27 sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
28 ln -s daemon $fs/etc/init.d/p910nd
29 }