wok-next view fltk-colbrowser/receipt @ rev 17058
syslinux/c32box: x86_64 auto select (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 21 10:08:05 2014 +0200 (2014-08-21) |
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 }