wok-6.x annotate cwallpaper-fltk/receipt @ rev 24795

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