wok-next view scrot/receipt @ rev 20690
add missing SHA256sums
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:36:47 2018 +0000 (2018-05-21) |
parents | 7639f09792cf |
children | 6befec62b46c |
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 xorg-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|' *
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 }