wok annotate scrot/receipt @ rev 17258
liblxqt: patch
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 21 22:24:48 2014 +0200 (2014-10-21) |
parents | ac0701daf97a |
children | a8e75e9bae6c |
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" |
pascal@15593 | 8 LICENSE="BSD" |
pascal@15593 | 9 TARBALL="$PACKAGE-${VERSION%-*}.tar.gz" |
pascal@15593 | 10 WEB_SITE="http://freecode.com/projects/scrot" |
pascal@15593 | 11 WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL" |
pascal@15593 | 12 |
al@13590 | 13 DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \ |
al@13590 | 14 xorg-libXau xorg-libXdmcp xorg-libXext zlib" |
al@13590 | 15 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev" |
rocky@3547 | 16 |
rocky@3547 | 17 # Rules to configure and make the package. |
rocky@3547 | 18 compile_rules() |
rocky@3547 | 19 { |
al@13590 | 20 cd $src |
al@13590 | 21 patch -p1 < $stuff/scrot.patch |
al@13590 | 22 ./configure $CONFIGURE_ARGS && |
al@13590 | 23 make && |
pascal@15593 | 24 make DESTDIR=$DESTDIR install |
rocky@3547 | 25 } |
rocky@3547 | 26 |
rocky@3547 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3547 | 28 genpkg_rules() |
rocky@3547 | 29 { |
al@13590 | 30 mkdir -p $fs/usr |
pascal@15593 | 31 cp -a $install/usr/bin $fs/usr |
rocky@3547 | 32 } |