wok annotate fltk-colbrowser/receipt @ rev 19446
dillo: add stuff/fltk-1.3.3.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 15 18:21:21 2016 +0200 (2016-10-15) |
parents | 59d50f859d0d |
children | ad032d861141 |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="fltk-colbrowser" |
pascal@19441 | 4 VERSION="1.3.3" |
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" |
pankso@16372 | 9 WEB_SITE="http://www.fltk.org/" |
pankso@16372 | 10 HOST_ARCH="i486 arm" |
pankso@16372 | 11 |
pankso@16372 | 12 WANTED="fltk" |
pankso@16372 | 13 DEPENDS="fltk" |
pankso@16372 | 14 |
pankso@16372 | 15 # Rules to configure and make the package. |
pankso@16372 | 16 compile_rules() |
pankso@16372 | 17 { |
pankso@16372 | 18 cd ${src}/test && rm -f colbrowser && |
pankso@16372 | 19 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx && |
pankso@16372 | 20 make colbrowser |
pankso@16372 | 21 } |
pankso@16372 | 22 |
pankso@16372 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 24 genpkg_rules() |
pankso@16372 | 25 { |
pankso@16372 | 26 mkdir -p $fs/usr/bin $fs/usr/share/fltk |
pankso@16372 | 27 cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE |
pankso@16372 | 28 cp ${src}/test/rgb.txt ${fs}/usr/share/fltk |
pankso@16372 | 29 } |