wok diff fltk/receipt @ rev 22986

cookutils: add check-wok
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 01 12:47:04 2020 +0100 (2020-03-01)
parents cd0ceb20abac
children bfabe25c21ff
line diff
     1.1 --- a/fltk/receipt	Sat Mar 02 13:08:40 2019 +0100
     1.2 +++ b/fltk/receipt	Sun Mar 01 12:47:04 2020 +0100
     1.3 @@ -1,20 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fltk"
     1.7 -VERSION="1.3.4.2"
     1.8 +VERSION="1.3.5"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Fast Light Tool Kit (provide fluid)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="LGPL2"
    1.13  WEB_SITE="https://www.fltk.org/"
    1.14  
    1.15 -TARBALL="$PACKAGE-${VERSION/.2/-2}-source.tar.gz"
    1.16 -WGET_URL="http://fltk.org/pub/fltk/${VERSION%.*}/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    1.18 +WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.21 -xorg-libXext xorg-libXft xorg-libXrender zlib gcc-lib-base mesa libglu-mesa"
    1.22 -BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev \
    1.23 -xorg-libXinerama-dev xorg-libXft-dev slitaz-tools"
    1.24 +DEPENDS="expat fontconfig freetype gcc-lib-base jpeg libglu-mesa libpng mesa 
    1.25 +	xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft 
    1.26 +	xorg-libXrender zlib"
    1.27 +BUILD_DEPENDS="jpeg-dev libglu-mesa libglu-mesa-dev libpng-dev mesa mesa-dev 
    1.28 +	slitaz-tools xorg-libXft-dev xorg-libXinerama-dev"
    1.29 +
    1.30  HOST_ARCH="i486 arm"
    1.31  
    1.32  # Handle SliTaz arch
    1.33 @@ -38,11 +40,11 @@
    1.34  	# By now (1.3.4.2) contained in sources
    1.35  	# patch -p0 < $stuff/Fl_XFont_On_Demand.patch
    1.36  
    1.37 -	./configure \
    1.38 -		${ARCH_ARGS} \
    1.39 -		--enable-shared \
    1.40 -		--enable-xft \
    1.41 -		--enable-threads \
    1.42 +	./configure			\
    1.43 +		${ARCH_ARGS}		\
    1.44 +		--enable-shared		\
    1.45 +		--enable-xft		\
    1.46 +		--enable-threads	\
    1.47  		$CONFIGURE_ARGS &&
    1.48  	make -j 1 lib $MAKEFLAGS &&
    1.49  	make DESTDIR=$DESTDIR install
    1.50 @@ -51,8 +53,11 @@
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
    1.55 -	cp -a $install/usr/bin/fluid $fs/usr/bin
    1.56 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.57 -	cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
    1.58 +	mkdir -p $fs/usr/bin
    1.59 +	mkdir -p $fs/usr/lib
    1.60 +	mkdir -p $fs/usr/share/pixmaps
    1.61 +
    1.62 +	cp -a $install/usr/bin/fluid		$fs/usr/bin
    1.63 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.64 +	cp $src/fluid/icons/fluid-32.png	$fs/usr/share/pixmaps/fluid.png
    1.65  }