wok annotate scrot/receipt @ rev 24864

updated lsof (4.93.2 -> 4.94.0)
author Hans-G?nter Theisgen
date Wed Mar 30 06:22:51 2022 +0100 (2022-03-30)
parents a8e75e9bae6c
children 1805f71c5d9f
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
pascal@24535 17 # What is the latest version available today?
pascal@24535 18 current_version()
pascal@24535 19 {
pascal@24535 20 # https://github.com/resurrecting-open-source-projects/scrot/releases
pascal@24535 21 wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \
pascal@24535 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24535 23 }
pascal@24535 24
rocky@3547 25 # Rules to configure and make the package.
rocky@3547 26 compile_rules()
rocky@3547 27 {
pascal@19294 28 sed -i 's|prefix)/doc|prefix)/share/doc|' *
al@13590 29 patch -p1 < $stuff/scrot.patch
al@13590 30 ./configure $CONFIGURE_ARGS &&
al@13590 31 make &&
pascal@15593 32 make DESTDIR=$DESTDIR install
rocky@3547 33 }
rocky@3547 34
rocky@3547 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3547 36 genpkg_rules()
rocky@3547 37 {
al@13590 38 mkdir -p $fs/usr
pascal@15593 39 cp -a $install/usr/bin $fs/usr
rocky@3547 40 }