wok-stable diff scrot/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents f15fff8f2ad9
children
line diff
     1.1 --- a/scrot/receipt	Tue Jun 23 12:28:48 2009 +0800
     1.2 +++ b/scrot/receipt	Fri Apr 28 09:09:24 2017 +0200
     1.3 @@ -1,31 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="scrot"
     1.7 -VERSION="0.8"
     1.8 +VERSION="0.8-12"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="A screen capture utility."
    1.11 -MAINTAINER="rocky@slitaz.org"
    1.12 -DEPENDS="giblib"
    1.13 -BUILD_DEPENDS="giblib giblib-dev imlib2-dev"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://www.linuxbrit.co.uk/scrot"
    1.16 +SHORT_DESC="A screen capture utility"
    1.17 +MAINTAINER="al.bobylev@gmail.com"
    1.18 +DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \
    1.19 +xorg-libXau xorg-libXdmcp xorg-libXext zlib"
    1.20 +BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev"
    1.21 +TARBALL="$PACKAGE-${VERSION%-*}.tar.gz"
    1.22 +WEB_SITE="http://freecode.com/projects/scrot"
    1.23  WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -    cd $src
    1.29 -    ./configure --prefix=/usr \
    1.30 -        --mandir=/usr/share/man \
    1.31 -        --disable-nls \
    1.32 -        $CONFIGURE_ARGS &&
    1.33 -    make &&
    1.34 -    make DESTDIR=$PWD/_pkg install
    1.35 +	cd $src
    1.36 +	patch -p1 < $stuff/scrot.patch
    1.37 +	./configure $CONFIGURE_ARGS &&
    1.38 +	make &&
    1.39 +	make DESTDIR=$PWD/_pkg install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -    mkdir -p $fs/usr
    1.46 -    cp -a $_pkg/usr/bin $fs/usr
    1.47 +	mkdir -p $fs/usr
    1.48 +	cp -a $_pkg/usr/bin $fs/usr
    1.49  }