wok-current view p910nd/receipt @ rev 14746
Up xorg-libXrender (0.9.8), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 14:56:22 2013 +0200 (2013-06-15) |
parents | 897158f0f904 |
children | a436a235f098 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="printer"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
18 make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/etc/init.d
25 cp -a $install/usr/sbin $fs/usr
26 sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
27 ln -s daemon $fs/etc/init.d/p910nd
28 }