wok rev 25298

updated scrot (0.8-12 -> 1.7)
author Hans-G?nter Theisgen
date Wed Jul 20 07:03:07 2022 +0100 (21 months ago)
parents f3adabaf01f2
children f1a65d93df2f
files scrot/description.txt scrot/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scrot/description.txt	Wed Jul 20 07:03:07 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Scrot (SCReen shOT) is a simple commandline screen capture
     1.5 +utility that uses imlib2 to grab and save images.
     1.6 +Multiple image formats are supported through imlib2's
     1.7 +dynamic saver modules.
     2.1 --- a/scrot/receipt	Wed Jul 20 06:44:28 2022 +0100
     2.2 +++ b/scrot/receipt	Wed Jul 20 07:03:07 2022 +0100
     2.3 @@ -1,18 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="scrot"
     2.7 -VERSION="0.8-12"
     2.8 +VERSION="1.7"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="A screen capture utility"
    2.11 +SHORT_DESC="A screen capture utility."
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="BSD"
    2.14 -TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
    2.15 -WEB_SITE="http://freecode.com/projects/scrot"
    2.16 -WGET_URL="https://github.com/dreamer/scrot/archive/$TARBALL"
    2.17 +WEB_SITE="https://github.com/resurrecting-open-source-projects/scrot"
    2.18  
    2.19 -DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
    2.20 -xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    2.21 -BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
    2.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.23 +WGET_URL="https://github.com/resurrecting-open-source-projects/$PACKAGE/archive/$VERSION.tar.gz"
    2.24 +
    2.25 +DEPENDS="bzlib freetype giblib glibc-base imlib2 libbsd libxcb xorg-libX11
    2.26 +	xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    2.27 +BUILD_DEPENDS="autoconf-archive automake giblib-dev imlib2-dev libbsd-dev xorg-libX11-dev"
    2.28  
    2.29  # What is the latest version available today?
    2.30  current_version()
    2.31 @@ -25,16 +26,17 @@
    2.32  # Rules to configure and make the package.
    2.33  compile_rules()
    2.34  {
    2.35 -	sed -i 's|prefix)/doc|prefix)/share/doc|' *
    2.36 -	patch -p1 < $stuff/scrot.patch
    2.37 -	./configure $CONFIGURE_ARGS &&
    2.38 +#	sed -i 's|prefix)/doc|prefix)/share/doc|' *
    2.39 +#	patch -p1 < $stuff/scrot.patch
    2.40 +
    2.41 +	./autogen.sh	m4_pattern_allow &&
    2.42 +	./configure	$CONFIGURE_ARGS &&
    2.43  	make &&
    2.44 -	make DESTDIR=$DESTDIR install
    2.45 +	make install DESTDIR=$DESTDIR
    2.46  }
    2.47  
    2.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.49  genpkg_rules()
    2.50  {
    2.51 -	mkdir -p $fs/usr
    2.52 -	cp -a $install/usr/bin $fs/usr
    2.53 +	cook_copy_folders	bin
    2.54  }