wok view p910nd/receipt @ rev 20932
updated fop (1.0 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 14:33:42 2019 +0100 (2019-03-02) |
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 }