wok annotate cwallpaper-fltk/receipt @ rev 25654
Up ntfs-3g (2022.10.3) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 06 14:23:55 2024 +0000 (9 months ago) |
parents | 4f225ad3e12e |
children |
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" |
pascal@25469 | 10 WEB_SITE="https://cwallpaper.sourceforge.net" |
pascal@25118 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$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 } |