wok-current view p910nd/receipt @ rev 22981

updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.0.4 -> 2.2.0)
author Hans-G?nter Theisgen
date Sat Feb 29 17:01:43 2020 +0100 (2020-02-29)
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 }