wok view p910nd/receipt @ rev 16505
Add dhid dyn IP daemon + add to ARM python-psutil and fix htop icon in /usr/share
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 24 14:08:25 2014 +0200 (2014-04-24) |
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 }