wok-next view scrot/receipt @ rev 19595

Up linux (4.9.4)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 17:27:31 2017 +0200 (2017-01-21)
parents 3b4e4318134e
children 7639f09792cf
line source
1 # SliTaz package receipt.
3 PACKAGE="scrot"
4 VERSION="0.8-12"
5 CATEGORY="x-window"
6 SHORT_DESC="A screen capture utility"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
10 WEB_SITE="http://freecode.com/projects/scrot"
11 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
13 DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
14 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
15 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|prefix)/doc|prefix)/share/doc|' *
21 patch -p1 < $stuff/scrot.patch
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }