wok-current diff p910nd/receipt @ rev 14254
Add kexec-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 26 11:53:15 2013 +0100 (2013-03-26) |
parents | 897158f0f904 |
children | a436a235f098 |
line diff
1.1 --- a/p910nd/receipt Sat Feb 05 21:37:17 2011 +0100 1.2 +++ b/p910nd/receipt Tue Mar 26 11:53:15 2013 +0100 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