wok view fltk-colbrowser/receipt @ rev 19826
linld: remove dead code
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 07 12:21:16 2017 +0100 (2017-03-07) |
parents | 9e2e108fff96 |
children | a78610b2eb47 |
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"
14 BUILD_DEPENDS="xorg-libXft fontconfig"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd ${src}/test && rm -f colbrowser &&
20 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx &&
21 make colbrowser
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share/fltk
28 cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE
29 cp ${src}/test/rgb.txt ${fs}/usr/share/fltk
30 }