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