wok-next view scrot/receipt @ rev 10957

zim: up v0.53
author Liu Peng <hipeng@about.me>
date Tue Sep 20 10:58:12 2011 +0800 (2011-09-20)
parents
children ac0701daf97a
line source
1 # SliTaz package receipt.
3 PACKAGE="scrot"
4 VERSION="0.8"
5 CATEGORY="x-window"
6 SHORT_DESC="A screen capture utility."
7 MAINTAINER="rocky@slitaz.org"
8 DEPENDS="giblib"
9 BUILD_DEPENDS="giblib giblib-dev imlib2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.linuxbrit.co.uk/scrot"
12 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --mandir=/usr/share/man \
20 --disable-nls \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }