wok view scrot/receipt @ rev 25788
xgalaga: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 08:52:14 2024 +0000 (2 months ago) |
parents | c95a110e9ce0 |
children |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }