wok-next rev 20030

Up flam3 (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 15:52:59 2017 +0200 (2017-10-22)
parents 8762215cfa73
children be13ba9071b1
files flam3-dev/receipt flam3/receipt
line diff
     1.1 --- a/flam3-dev/receipt	Sun Oct 22 15:21:38 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="flam3-dev"
     1.7 -VERSION="3.0"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations (devel files)"
    1.10 -MAINTAINER="gokhlayeh@slitaz.org"
    1.11 -LICENSE="GPL3"
    1.12 -WANTED="flam3"
    1.13 -WEB_SITE="http://flam3.com/"
    1.14 -
    1.15 -DEPENDS="flam3 pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr
    1.21 -	cp -a $install/usr/lib $fs/usr
    1.22 -	cp -a $install/usr/include $fs/usr
    1.23 -}
     2.1 --- a/flam3/receipt	Sun Oct 22 15:21:38 2017 +0200
     2.2 +++ b/flam3/receipt	Sun Oct 22 15:52:59 2017 +0200
     2.3 @@ -1,17 +1,17 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="flam3"
     2.8 -VERSION="3.0"
     2.9 +VERSION="3.1.1"
    2.10  CATEGORY="graphics"
    2.11  SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations"
    2.12  MAINTAINER="gokhlayeh@slitaz.org"
    2.13  LICENSE="GPL3"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WEB_SITE="http://flam3.com/"
    2.16 -WGET_URL="http://flam3.googlecode.com/files/$TARBALL"
    2.17 +WGET_URL="https://github.com/scottdraves/flam3/archive/v$VERSION.tar.gz"
    2.18  
    2.19 -DEPENDS="expat libjpeg libpng libxml2"
    2.20  BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev"
    2.21 +SPLIT="flam3 flam3-dev"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25 @@ -28,9 +28,19 @@
    2.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.27  genpkg_rules()
    2.28  {
    2.29 -	mkdir -p $fs/usr/share
    2.30 -	cp -a $install/usr/bin $fs/usr/
    2.31 -	cp -a $install/usr/share/flam3 $fs/usr/share/
    2.32 +	case $PACKAGE in
    2.33 +	flam3)
    2.34 +		DEPENDS="expat libjpeg libpng libxml2"
    2.35 +		mkdir -p $fs/usr/share
    2.36 +		cp -a $install/usr/bin $fs/usr/
    2.37 +		cp -a $install/usr/share/flam3 $fs/usr/share/
    2.38 +		;;
    2.39 +	flam3-dev)
    2.40 +		CAT="development|Tools to create/display fractal flames: algorithmically generated images and animations (devel files)"
    2.41 +		DEPENDS="flam3 pkg-config"
    2.42 +		mkdir -p $fs/usr
    2.43 +		cp -a $install/usr/lib $fs/usr
    2.44 +		cp -a $install/usr/include $fs/usr
    2.45 +		;;
    2.46 +	esac
    2.47  }
    2.48 -
    2.49 -