# HG changeset patch # User Pascal Bellard # Date 1508680379 -7200 # Node ID f0483f253154a59a0a0e07a458437fb6c081a73b # Parent 8762215cfa732c4e4dd2ac305b2e50d788b9037a Up flam3 (3.1.1) diff -r 8762215cfa73 -r f0483f253154 flam3-dev/receipt --- a/flam3-dev/receipt Sun Oct 22 15:21:38 2017 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="flam3-dev" -VERSION="3.0" -CATEGORY="development" -SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations (devel files)" -MAINTAINER="gokhlayeh@slitaz.org" -LICENSE="GPL3" -WANTED="flam3" -WEB_SITE="http://flam3.com/" - -DEPENDS="flam3 pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/include $fs/usr -} diff -r 8762215cfa73 -r f0483f253154 flam3/receipt --- a/flam3/receipt Sun Oct 22 15:21:38 2017 +0200 +++ b/flam3/receipt Sun Oct 22 15:52:59 2017 +0200 @@ -1,17 +1,17 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="flam3" -VERSION="3.0" +VERSION="3.1.1" CATEGORY="graphics" SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations" MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://flam3.com/" -WGET_URL="http://flam3.googlecode.com/files/$TARBALL" +WGET_URL="https://github.com/scottdraves/flam3/archive/v$VERSION.tar.gz" -DEPENDS="expat libjpeg libpng libxml2" BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev" +SPLIT="flam3 flam3-dev" # Rules to configure and make the package. compile_rules() @@ -28,9 +28,19 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr/ - cp -a $install/usr/share/flam3 $fs/usr/share/ + case $PACKAGE in + flam3) + DEPENDS="expat libjpeg libpng libxml2" + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr/ + cp -a $install/usr/share/flam3 $fs/usr/share/ + ;; + flam3-dev) + CAT="development|Tools to create/display fractal flames: algorithmically generated images and animations (devel files)" + DEPENDS="flam3 pkg-config" + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/include $fs/usr + ;; + esac } - -