wok annotate fltk-colbrowser/receipt @ rev 24710
updated lensfun (0.3.2 -> 0.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 17:20:03 2022 +0100 (2022-03-14) |
parents | ec27bdc69711 |
children |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="fltk-colbrowser" |
Hans-G?nter@24557 | 4 VERSION="1.3.8" |
pankso@16372 | 5 CATEGORY="graphics" |
pankso@16372 | 6 SHORT_DESC="FLT Color browser." |
pankso@16372 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16372 | 8 LICENSE="LGPL2" |
pascal@20669 | 9 WEB_SITE="https://www.fltk.org/" |
pankso@16372 | 10 |
Hans-G?nter@22765 | 11 DEPENDS="fltk" |
Hans-G?nter@22765 | 12 BUILD_DEPENDS="fontconfig xorg-libXft" |
pankso@16372 | 13 WANTED="fltk" |
Hans-G?nter@22765 | 14 |
Hans-G?nter@20926 | 15 HOST_ARCH="i486 arm" |
pankso@16372 | 16 |
pankso@16372 | 17 # Rules to configure and make the package. |
pankso@16372 | 18 compile_rules() |
pankso@16372 | 19 { |
Hans-G?nter@24557 | 20 cd $src/test && |
Hans-G?nter@22765 | 21 rm -f colbrowser && |
Hans-G?nter@22765 | 22 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' \ |
Hans-G?nter@22765 | 23 colbrowser.cxx && |
pankso@16372 | 24 make colbrowser |
pankso@16372 | 25 } |
pankso@16372 | 26 |
pankso@16372 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 28 genpkg_rules() |
pankso@16372 | 29 { |
Hans-G?nter@22765 | 30 mkdir -p $fs/usr/bin |
Hans-G?nter@22765 | 31 mkdir -p $fs/usr/share/fltk |
Hans-G?nter@22765 | 32 |
Hans-G?nter@22765 | 33 cp -a $src/test/colbrowser $fs/usr/bin/$PACKAGE |
Hans-G?nter@22765 | 34 cp $src/test/rgb.txt $fs/usr/share/fltk |
pankso@16372 | 35 } |