wok annotate fltk-colbrowser/receipt @ rev 21205

Add lbzip2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 20:34:36 2019 +0200 (2019-04-07)
parents b36d3d58ef5c
children ec27bdc69711
rev   line source
pankso@16372 1 # SliTaz package receipt.
pankso@16372 2
pankso@16372 3 PACKAGE="fltk-colbrowser"
Hans-G?nter@20926 4 VERSION="1.3.4.2"
pankso@16372 5 CATEGORY="graphics"
pankso@16372 6 SHORT_DESC="FLT Color browser."
pankso@16372 7 MAINTAINER="pankso@slitaz.org"
pankso@16372 8 LICENSE="LGPL2"
pascal@20669 9 WEB_SITE="https://www.fltk.org/"
pankso@16372 10
pankso@16372 11 WANTED="fltk"
pankso@16372 12 DEPENDS="fltk"
pascal@19448 13 BUILD_DEPENDS="xorg-libXft fontconfig"
Hans-G?nter@20926 14 HOST_ARCH="i486 arm"
pankso@16372 15
pankso@16372 16 # Rules to configure and make the package.
pankso@16372 17 compile_rules()
pankso@16372 18 {
pankso@16372 19 cd ${src}/test && rm -f colbrowser &&
pankso@16372 20 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' colbrowser.cxx &&
pankso@16372 21 make colbrowser
pankso@16372 22 }
pankso@16372 23
pankso@16372 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16372 25 genpkg_rules()
pankso@16372 26 {
pankso@16372 27 mkdir -p $fs/usr/bin $fs/usr/share/fltk
pankso@16372 28 cp -a ${src}/test/colbrowser ${fs}/usr/bin/$PACKAGE
Hans-G?nter@20928 29 cp ${src}/test/rgb.txt ${fs}/usr/share/fltk
pankso@16372 30 }