wok-current annotate p910nd/receipt @ rev 23459

updated pycrypto (2.3 -> 2.6.1)
author Hans-G?nter Theisgen
date Sat Apr 04 17:01:40 2020 +0100 (2020-04-04)
parents a436a235f098
children 080c1dff8494
rev   line source
pascal@8405 1 # SliTaz package receipt.
pascal@8405 2
pascal@8405 3 PACKAGE="p910nd"
Hans-G?nter@21656 4 VERSION="0.97"
pascal@8405 5 CATEGORY="network"
Hans-G?nter@21656 6 TAGS="printer"
pascal@8405 7 SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
pascal@8405 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14781 9 LICENSE="GPL2"
Hans-G?nter@21656 10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
Hans-G?nter@21656 11
pascal@8405 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@8405 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@8405 14
pascal@8405 15 # Rules to configure and make the package.
pascal@8405 16 compile_rules()
pascal@8405 17 {
pascal@8405 18 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
pascal@13518 19 make DESTDIR=$DESTDIR install
pascal@8405 20 }
pascal@8405 21
pascal@8405 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8405 23 genpkg_rules()
pascal@8405 24 {
Hans-G?nter@21656 25 mkdir -p $fs/usr
Hans-G?nter@21656 26 mkdir -p $fs/etc/init.d
Hans-G?nter@21656 27
pascal@13518 28 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21656 29
pascal@13518 30 sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
pascal@8405 31 ln -s daemon $fs/etc/init.d/p910nd
pascal@8405 32 }