wok view fltk-colbrowser/receipt @ rev 19441

Up fltk (1.3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 14 08:59:42 2016 +0200 (2016-10-14)
parents 59d50f859d0d
children ad032d861141
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-colbrowser"
4 VERSION="1.3.3"
5 CATEGORY="graphics"
6 SHORT_DESC="FLT Color browser."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.fltk.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="fltk"
13 DEPENDS="fltk"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd ${src}/test && rm -f colbrowser &&
19 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx &&
20 make colbrowser
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/fltk
27 cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE
28 cp ${src}/test/rgb.txt ${fs}/usr/share/fltk
29 }