wok view p910nd/receipt @ rev 23330
updated perl-file-find-rule (0.32 -> 0.34)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 17:49:29 2020 +0100 (2020-03-30) |
parents | a436a235f098 |
children | 080c1dff8494 |
line source
1 # SliTaz package receipt.
3 PACKAGE="p910nd"
4 VERSION="0.97"
5 CATEGORY="network"
6 TAGS="printer"
7 SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
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
26 mkdir -p $fs/etc/init.d
28 cp -a $install/usr/sbin $fs/usr
30 sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
31 ln -s daemon $fs/etc/init.d/p910nd
32 }