wok annotate hsetroot/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (11 months ago)
parents 5ea0ce1cecc0
children
rev   line source
pankso@358 1 # SliTaz package receipt.
pankso@358 2
pankso@358 3 PACKAGE="hsetroot"
Hans-G?nter@22932 4 VERSION="1.0.5"
pankso@358 5 CATEGORY="x-window"
Hans-G?nter@22932 6 TAGS="wallpaper"
pankso@358 7 SHORT_DESC="Tool to set desktop wallpaper."
pankso@358 8 MAINTAINER="pankso@slitaz.org"
pascal@15600 9 LICENSE="GPL2"
Hans-G?nter@22932 10 WEB_SITE="https://github.com/himdel/hsetroot"
Hans-G?nter@22932 11
pankso@358 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22932 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
Hans-G?nter@22932 14
Hans-G?nter@22932 15 DEPENDS="freetype imlib2 libpng xorg-libX11 xorg-libXau
Hans-G?nter@22932 16 xorg-libXdmcp xorg-libXext"
Hans-G?nter@22932 17 BUILD_DEPENDS="imlib2-dev libpng-dev pkg-config"
Hans-G?nter@22932 18
pankso@16067 19 HOST_ARCH="i486 arm"
pankso@358 20
pankso@16067 21 # ARM: imlib2-dev must be installed in build chroot
pankso@16067 22
pascal@25599 23 # What is the latest version available today?
pascal@24055 24 current_version()
pascal@24055 25 {
pascal@24055 26 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25599 27 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 28 }
pascal@24055 29
pankso@358 30 # Rules to configure and make the package.
pankso@358 31 compile_rules()
pankso@358 32 {
Hans-G?nter@22932 33 export CFLAGS="$CFLAGS -std=c99"
pascal@17759 34 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@22932 35
Hans-G?nter@22932 36 make
pankso@358 37 }
pankso@358 38
pankso@358 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 40 genpkg_rules()
pankso@358 41 {
Hans-G?nter@22932 42 mkdir -p $fs/usr/bin
Hans-G?nter@22932 43 cp -a $src/hsetroot $fs/usr/bin
pankso@358 44 }