wok-next view fltk-colbrowser/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | 989b3e4da12b |
children |
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 xorg-libXinerama"
14 BUILD_DEPENDS="xorg-libXft fontconfig xorg-libX11-dev xorg-libXinerama \
15 xorg-libXfixes"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd ${src}/test && rm -f colbrowser &&
21 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx &&
22 make colbrowser
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/share/fltk
29 cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE
30 cp ${src}/test/rgb.txt ${fs}/usr/share/fltk
31 }