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