wok-stable annotate xsane/receipt @ rev 786
Up syslinux syslinux-extra 3.63, build *.kbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 14:34:20 2008 +0000 (2008-05-13) |
parents | |
children | 3f898e9b90bd |
rev | line source |
---|---|
pankso@650 | 1 # SliTaz package receipt. |
pankso@650 | 2 |
pankso@650 | 3 PACKAGE="xsane" |
pankso@650 | 4 VERSION="0.994" |
pankso@650 | 5 CATEGORY="office" |
pankso@650 | 6 SHORT_DESC="XSane - graphical scanning frontend." |
pankso@650 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@650 | 8 DEPENDS="sane-backends gtk+" |
pankso@650 | 9 BUILD_DEPENDS="gtk+-dev sane-backends-dev" |
pankso@650 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@650 | 11 WEB_SITE="http://www.xsane.org/" |
pankso@650 | 12 WGET_URL="ftp://sunsite.uio.no/pub/sane/xsane/$TARBALL" |
pankso@650 | 13 |
pankso@650 | 14 # Rules to configure and make the package. |
pankso@650 | 15 compile_rules() |
pankso@650 | 16 { |
pankso@650 | 17 cd $src |
pankso@650 | 18 ./configure \ |
pankso@650 | 19 --prefix=/usr \ |
pankso@650 | 20 --mandir=/usr/share/man \ |
pankso@650 | 21 $CONFIGURE_ARGS |
pankso@650 | 22 make |
pankso@650 | 23 make DESTDIR=$PWD/_pkg install |
pankso@650 | 24 } |
pankso@650 | 25 |
pankso@650 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@650 | 27 genpkg_rules() |
pankso@650 | 28 { |
pankso@650 | 29 mkdir -p $fs/usr/share |
pankso@650 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@650 | 31 cp -a $_pkg/usr/share/sane $fs/usr/share |
pankso@650 | 32 rm -rf $fs/usr/share/sane/xsane/doc |
pankso@650 | 33 } |
pankso@650 | 34 |