wok-stable view scrot/receipt @ rev 11941

c_icap: Add initscript & fix configfile
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 07:01:35 2012 +0100 (2012-03-01)
parents
children 3c49531acc75
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 }