wok-current view p910nd/receipt @ rev 20062
Up zstd (1.3.1), syslinux/c32box fix loadcustominitrd()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 22 15:56:58 2017 +0200 (2017-09-22) |
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 }