# HG changeset patch # User Pascal Bellard # Date 1350642253 -7200 # Node ID 62efb7562aadaf61e45dc2e8749a746a424b8310 # Parent 7336f62c21ccef8b34d71436f96f51f907c0b8a4 Up p910nd (0.95) diff -r 7336f62c21cc -r 62efb7562aad p910nd/receipt --- a/p910nd/receipt Fri Oct 19 10:47:03 2012 +0200 +++ b/p910nd/receipt Fri Oct 19 12:24:13 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="p910nd" -VERSION="0.93" +VERSION="0.95" CATEGORY="network" SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway." MAINTAINER="pascal.bellard@slitaz.org" @@ -15,14 +15,15 @@ { cd $src make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/etc/init.d - cp -a $_pkg/usr/sbin $fs/usr + cp -a $install/usr/sbin $fs/usr + sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt ln -s daemon $fs/etc/init.d/p910nd }