wok-6.x annotate fltk-colbrowser/receipt @ rev 23178
Up openvpn (2.4.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 18 11:26:52 2020 +0100 (2020-03-18) |
parents | 20eb236f6de4 |
children | 46a25aedecec |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="fltk-colbrowser" |
Hans-G?nter@22765 | 4 VERSION="1.3.5" |
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@22765 | 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 } |