wok-current view scrot/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (2022-06-28)
parents 7c0170dd3ecc
children c95a110e9ce0
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
10 WEB_SITE="http://freecode.com/projects/scrot"
11 WGET_URL="https://github.com/dreamer/scrot/archive/$TARBALL"
13 DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
14 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
15 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 # https://github.com/resurrecting-open-source-projects/scrot/releases
21 wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|prefix)/doc|prefix)/share/doc|' *
29 patch -p1 < $stuff/scrot.patch
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }