wok-next annotate scrot/receipt @ rev 11262

Merge
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 21:05:41 2011 +0000 (2011-11-07)
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 }