wok-next view scrot/receipt @ rev 15187
slitaz-base-files: up 5.4.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 24 15:12:52 2013 +0300 (2013-08-24) |
parents | f15fff8f2ad9 |
children | 3b4e4318134e |
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 DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
10 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
11 TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
12 WEB_SITE="http://freecode.com/projects/scrot"
13 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p1 < $stuff/scrot.patch
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }