wok-6.x diff fltk-colbrowser/receipt @ rev 24453
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 15 18:29:48 2022 +0000 (2022-02-15) |
parents | 20eb236f6de4 |
children | 46a25aedecec |
line diff
1.1 --- a/fltk-colbrowser/receipt Sat Mar 02 13:17:05 2019 +0100 1.2 +++ b/fltk-colbrowser/receipt Tue Feb 15 18:29:48 2022 +0000 1.3 @@ -1,30 +1,35 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fltk-colbrowser" 1.7 -VERSION="1.3.4.2" 1.8 +VERSION="1.3.5" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="FLT Color browser." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="LGPL2" 1.13 WEB_SITE="https://www.fltk.org/" 1.14 1.15 +DEPENDS="fltk" 1.16 +BUILD_DEPENDS="fontconfig xorg-libXft" 1.17 WANTED="fltk" 1.18 -DEPENDS="fltk" 1.19 -BUILD_DEPENDS="xorg-libXft fontconfig" 1.20 + 1.21 HOST_ARCH="i486 arm" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd ${src}/test && rm -f colbrowser && 1.27 - sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx && 1.28 + cd ${src}/test && 1.29 + rm -f colbrowser && 1.30 + sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' \ 1.31 + colbrowser.cxx && 1.32 make colbrowser 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - mkdir -p $fs/usr/bin $fs/usr/share/fltk 1.39 - cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE 1.40 - cp ${src}/test/rgb.txt ${fs}/usr/share/fltk 1.41 + mkdir -p $fs/usr/bin 1.42 + mkdir -p $fs/usr/share/fltk 1.43 + 1.44 + cp -a $src/test/colbrowser $fs/usr/bin/$PACKAGE 1.45 + cp $src/test/rgb.txt $fs/usr/share/fltk 1.46 }