wok-6.x view cwallpaper-fltk/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents 5e2a0043db11
children 4f225ad3e12e
line source
1 # SliTaz package receipt.
3 PACKAGE="cwallpaper-fltk"
4 VERSION="0.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="PC XT-compatible emulator/virtual machine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cwallpaper.sourceforge.net"
11 WGET_URL="$SF_MIRROR/cwallpaper/$PACKAGE/cwallpaper-fltk-$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="hsetroot feh"
15 DEPENDS="fltk"
16 BUILD_DEPENDS="fltk-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - http://cwallpaper.sourceforge.net/download.php 2>/dev/null | \
22 sed '/cwallpaper-fltk/!d;s|.*-fltk_||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
29 make && mkdir -p ${DESTDIR}/usr/bin/ &&
30 make DESTDIR=${DESTDIR} install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/cwallpaper
37 cp -a $install/usr/bin $fs/usr
38 cp $install/usr/share/cwallpaper/example_config \
39 $fs/usr/share/cwallpaper
40 }