wok annotate p910nd/receipt @ rev 16484
xpain: have is own libXaw3d
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 04:16:45 2014 +0200 (2014-04-23) |
parents | 62efb7562aad |
children | 6c0d5218c80f |
rev | line source |
---|---|
pascal@8405 | 1 # SliTaz package receipt. |
pascal@8405 | 2 |
pascal@8405 | 3 PACKAGE="p910nd" |
pascal@13518 | 4 VERSION="0.95" |
pascal@8405 | 5 CATEGORY="network" |
pascal@8405 | 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" |
pascal@8405 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@8405 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@8405 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@8405 | 12 TAGS="printer" |
pascal@8405 | 13 |
pascal@8405 | 14 # Rules to configure and make the package. |
pascal@8405 | 15 compile_rules() |
pascal@8405 | 16 { |
pascal@8405 | 17 cd $src |
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 { |
pascal@8405 | 25 mkdir -p $fs/usr $fs/etc/init.d |
pascal@13518 | 26 cp -a $install/usr/sbin $fs/usr |
pascal@13518 | 27 sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt |
pascal@8405 | 28 ln -s daemon $fs/etc/init.d/p910nd |
pascal@8405 | 29 } |
pascal@8405 | 30 |