wok annotate hsetroot/receipt @ rev 24314

updated vlgothic-fonts (20141206 -> 20200720)
author Hans-G?nter Theisgen
date Sat Jan 22 13:28:11 2022 +0100 (2022-01-22)
parents c714e648c5f1
children 20ad21d5532c
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@24055 23 current_version()
pascal@24055 24 {
pascal@24055 25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 26 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 27 }
pascal@24055 28
pankso@358 29 # Rules to configure and make the package.
pankso@358 30 compile_rules()
pankso@358 31 {
Hans-G?nter@22932 32 export CFLAGS="$CFLAGS -std=c99"
pascal@17759 33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@22932 34
Hans-G?nter@22932 35 make
pankso@358 36 }
pankso@358 37
pankso@358 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@358 39 genpkg_rules()
pankso@358 40 {
Hans-G?nter@22932 41 mkdir -p $fs/usr/bin
Hans-G?nter@22932 42 cp -a $src/hsetroot $fs/usr/bin
pankso@358 43 }