wok view scrot/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 1805f71c5d9f
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="scrot"
4 VERSION="1.7"
5 CATEGORY="x-window"
6 SHORT_DESC="A screen capture utility."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/resurrecting-open-source-projects/scrot"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/resurrecting-open-source-projects/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="bzlib freetype giblib glibc-base imlib2 libbsd libxcb xorg-libX11
15 xorg-libXau xorg-libXdmcp xorg-libXext zlib"
16 BUILD_DEPENDS="autoconf-archive automake giblib-dev imlib2-dev libbsd-dev xorg-libX11-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 # https://github.com/resurrecting-open-source-projects/scrot/releases
22 wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # sed -i 's|prefix)/doc|prefix)/share/doc|' *
30 # patch -p1 < $stuff/scrot.patch
32 ./autogen.sh m4_pattern_allow &&
33 ./configure $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }