wok rev 21656

updated p910nd (0.95 -> 0.97)
author Hans-G?nter Theisgen
date Fri May 31 15:41:03 2019 +0100 (2019-05-31)
parents f9f616c89890
children 5214b716a41a
files p910nd/receipt
line diff
     1.1 --- a/p910nd/receipt	Fri May 31 15:09:23 2019 +0100
     1.2 +++ b/p910nd/receipt	Fri May 31 15:41:03 2019 +0100
     1.3 @@ -1,20 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="p910nd"
     1.7 -VERSION="0.95"
     1.8 +VERSION="0.97"
     1.9  CATEGORY="network"
    1.10 +TAGS="printer"
    1.11  SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="printer"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25  	make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
    1.26  	make DESTDIR=$DESTDIR install
    1.27  }
    1.28 @@ -22,9 +22,11 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr $fs/etc/init.d
    1.33 +	mkdir -p $fs/usr
    1.34 +	mkdir -p $fs/etc/init.d
    1.35 +
    1.36  	cp -a $install/usr/sbin $fs/usr
    1.37 +
    1.38  	sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
    1.39  	ln -s daemon $fs/etc/init.d/p910nd
    1.40  }
    1.41 -