wok-next view fltk-colbrowser/receipt @ rev 18149
Up: slitaz-base-files (277)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 18 21:56:35 2015 +0300 (2015-06-18) |
parents | |
children | 9e2e108fff96 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-colbrowser"
4 VERSION="1.3.2"
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 }