wok-current annotate scrot/receipt @ rev 5811
viewnior: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 12 16:51:03 2010 +0200 (2010-07-12) |
parents | |
children | ac0701daf97a |
rev | line source |
---|---|
rocky@3547 | 1 # SliTaz package receipt. |
rocky@3547 | 2 |
rocky@3547 | 3 PACKAGE="scrot" |
rocky@3547 | 4 VERSION="0.8" |
rocky@3547 | 5 CATEGORY="x-window" |
rocky@3547 | 6 SHORT_DESC="A screen capture utility." |
rocky@3547 | 7 MAINTAINER="rocky@slitaz.org" |
rocky@3547 | 8 DEPENDS="giblib" |
rocky@3547 | 9 BUILD_DEPENDS="giblib giblib-dev imlib2-dev" |
rocky@3547 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@3547 | 11 WEB_SITE="http://www.linuxbrit.co.uk/scrot" |
rocky@3547 | 12 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL" |
rocky@3547 | 13 |
rocky@3547 | 14 # Rules to configure and make the package. |
rocky@3547 | 15 compile_rules() |
rocky@3547 | 16 { |
rocky@3547 | 17 cd $src |
rocky@3547 | 18 ./configure --prefix=/usr \ |
rocky@3547 | 19 --mandir=/usr/share/man \ |
rocky@3547 | 20 --disable-nls \ |
rocky@3547 | 21 $CONFIGURE_ARGS && |
rocky@3547 | 22 make && |
rocky@3547 | 23 make DESTDIR=$PWD/_pkg install |
rocky@3547 | 24 } |
rocky@3547 | 25 |
rocky@3547 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3547 | 27 genpkg_rules() |
rocky@3547 | 28 { |
rocky@3547 | 29 mkdir -p $fs/usr |
rocky@3547 | 30 cp -a $_pkg/usr/bin $fs/usr |
rocky@3547 | 31 } |