wok-next annotate scrot/receipt @ rev 15414
Up: thunderbird-langpack-el (17.0.9esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 03 21:52:35 2013 +0100 (2013-11-03) |
parents | f15fff8f2ad9 |
children | 3b4e4318134e |
rev | line source |
---|---|
rocky@3547 | 1 # SliTaz package receipt. |
rocky@3547 | 2 |
rocky@3547 | 3 PACKAGE="scrot" |
al@13590 | 4 VERSION="0.8-12" |
rocky@3547 | 5 CATEGORY="x-window" |
al@13590 | 6 SHORT_DESC="A screen capture utility" |
al@13590 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@13590 | 8 DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \ |
al@13590 | 9 xorg-libXau xorg-libXdmcp xorg-libXext zlib" |
al@13590 | 10 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev" |
al@13590 | 11 TARBALL="$PACKAGE-${VERSION%-*}.tar.gz" |
al@13590 | 12 WEB_SITE="http://freecode.com/projects/scrot" |
rocky@3547 | 13 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL" |
rocky@3547 | 14 |
rocky@3547 | 15 # Rules to configure and make the package. |
rocky@3547 | 16 compile_rules() |
rocky@3547 | 17 { |
al@13590 | 18 cd $src |
al@13590 | 19 patch -p1 < $stuff/scrot.patch |
al@13590 | 20 ./configure $CONFIGURE_ARGS && |
al@13590 | 21 make && |
al@13590 | 22 make DESTDIR=$PWD/_pkg install |
rocky@3547 | 23 } |
rocky@3547 | 24 |
rocky@3547 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3547 | 26 genpkg_rules() |
rocky@3547 | 27 { |
al@13590 | 28 mkdir -p $fs/usr |
al@13590 | 29 cp -a $_pkg/usr/bin $fs/usr |
rocky@3547 | 30 } |