wok-current view scrot/receipt @ rev 22711

exempi: add bin/exempi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 11:18:51 2020 +0100 (2020-01-22)
parents 3b4e4318134e
children 7c0170dd3ecc
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 }