wok-6.x rev 13518
Up p910nd (0.95)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 19 12:24:13 2012 +0200 (2012-10-19) |
parents | 7336f62c21cc |
children | a002d7ee3fd9 |
files | p910nd/receipt |
line diff
1.1 --- a/p910nd/receipt Fri Oct 19 10:47:03 2012 +0200 1.2 +++ b/p910nd/receipt Fri Oct 19 12:24:13 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="p910nd" 1.7 -VERSION="0.93" 1.8 +VERSION="0.95" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -15,14 +15,15 @@ 1.13 { 1.14 cd $src 1.15 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" && 1.16 - make DESTDIR=$PWD/_pkg install 1.17 + make DESTDIR=$DESTDIR install 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 mkdir -p $fs/usr $fs/etc/init.d 1.24 - cp -a $_pkg/usr/sbin $fs/usr 1.25 + cp -a $install/usr/sbin $fs/usr 1.26 + sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt 1.27 ln -s daemon $fs/etc/init.d/p910nd 1.28 } 1.29