wok-stable view scrot/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | f15fff8f2ad9 |
children |
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 }