wok-current annotate scrot/receipt @ rev 19654

busybox: add buf 9471 fix (for wget)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 25 09:31:52 2017 +0100 (2017-01-25)
parents 3b4e4318134e
children 7c0170dd3ecc
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 {
pascal@19294 20 sed -i 's|prefix)/doc|prefix)/share/doc|' *
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 }