wok diff p910nd/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents 080c1dff8494
children
line diff
     1.1 --- a/p910nd/receipt	Tue Feb 08 12:15:27 2022 +0000
     1.2 +++ b/p910nd/receipt	Sat Jun 18 20:27:19 2022 +0000
     1.3 @@ -7,10 +7,10 @@
     1.4  SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
     1.8 +WEB_SITE="https://github.com/kenyapcomau/p910nd"
     1.9  
    1.10 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="https://github.com/kenyapcomau/p910nd/archive/refs/tags/$VERSION.tar.gz"
    1.14  
    1.15  # What is the latest version available today?
    1.16  current_version()
    1.17 @@ -22,8 +22,9 @@
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 +	sed -i 's|subsys/||' p910nd.8
    1.22  	make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
    1.23 -	make DESTDIR=$DESTDIR install
    1.24 +	make DESTDIR=$DESTDIR CONFIG=aux/p910nd.conf INITSCRIPT=aux/p910nd.init MANPAGE=p910nd.8 install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 @@ -34,6 +35,6 @@
    1.29  
    1.30  	cp -a $install/usr/sbin $fs/usr
    1.31  
    1.32 -	sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
    1.33 +	sed '1,/%description/d;/%pre/,$d' $src/aux/p910nd.spec > $WOK/$PACKAGE/description.txt
    1.34  	ln -s daemon $fs/etc/init.d/p910nd
    1.35  }