wok-6.x view fltk-colbrowser/receipt @ rev 20926
updated fltk, fltk-blocks, fltk-checkers, fltk-colbrowser, fltk-dev, fltk-editor, and fltk-sudoku (1.3.3 -> 1.3.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 13:00:42 2019 +0100 (2019-03-02) |
parents | a78610b2eb47 |
children | 20eb236f6de4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-colbrowser"
4 VERSION="1.3.4.2"
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 WANTED="fltk"
12 DEPENDS="fltk"
13 BUILD_DEPENDS="xorg-libXft fontconfig"
14 HOST_ARCH="i486 arm"
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 }