wok-next annotate p910nd/receipt @ rev 20957
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 15:26:05 2018 +0300 (2018-09-05) |
parents | 4c1ed6983d05 |
children | d5aab818505e |
rev | line source |
---|---|
al@20492 | 1 # SliTaz package receipt v2. |
pascal@8405 | 2 |
pascal@8405 | 3 PACKAGE="p910nd" |
pascal@13518 | 4 VERSION="0.95" |
pascal@8405 | 5 CATEGORY="network" |
al@20492 | 6 SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway" |
pascal@8405 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14781 | 8 LICENSE="GPL2" |
al@20492 | 9 WEB_SITE="http://p910nd.sourceforge.net/" |
al@20492 | 10 |
pascal@8405 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@8405 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@8405 | 13 |
al@20492 | 14 compile_rules() { |
pascal@8405 | 15 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" && |
al@20492 | 16 make DESTDIR=$DESTDIR install || return 1 |
al@20492 | 17 |
pascal@20493 | 18 rm -f $install/etc/init.d/p910nd |
al@20492 | 19 ln -s daemon $install/etc/init.d/p910nd |
pascal@8405 | 20 } |
pascal@8405 | 21 |
al@20492 | 22 genpkg_rules() { |
al@20492 | 23 copy @std |
al@20492 | 24 TAGS="printer" |
pascal@8405 | 25 } |