wok-next view p910nd/receipt @ rev 19967

liboping: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 17 13:32:08 2017 +0200 (2017-10-17)
parents 62efb7562aad
children 4c1ed6983d05
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 }