wok view cwallpaper-fltk/receipt @ rev 25331

updated stella (6.6 -> 6.7)
author Hans-G?nter Theisgen
date Sat Jul 23 11:20:01 2022 +0100 (2022-07-23)
parents 076f424196b2
children b0069c845544
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="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$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 }