wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fltk-colbrowser/receipt Thu Jun 18 21:56:35 2015 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fltk-colbrowser" 1.7 +VERSION="1.3.2" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="FLT Color browser." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="LGPL2" 1.12 +WEB_SITE="http://www.fltk.org/" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 +WANTED="fltk" 1.16 +DEPENDS="fltk" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd ${src}/test && rm -f colbrowser && 1.22 + sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx && 1.23 + make colbrowser 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/bin $fs/usr/share/fltk 1.30 + cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE 1.31 + cp ${src}/test/rgb.txt ${fs}/usr/share/fltk 1.32 +}