wok-6.x view p910nd/receipt @ rev 22460
updated R (3.1.1 -> 3.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 27 14:20:41 2019 +0100 (2019-12-27) |
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 }