wok-current view hsetroot/receipt @ rev 25573

updated asterisk and asterisk-dev (11.1.1 -> 20.2.1)
author Hans-G?nter Theisgen
date Sat May 13 16:27:48 2023 +0100 (19 months ago)
parents c714e648c5f1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hsetroot"
4 VERSION="1.0.5"
5 CATEGORY="x-window"
6 TAGS="wallpaper"
7 SHORT_DESC="Tool to set desktop wallpaper."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/himdel/hsetroot"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="freetype imlib2 libpng xorg-libX11 xorg-libXau
16 xorg-libXdmcp xorg-libXext"
17 BUILD_DEPENDS="imlib2-dev libpng-dev pkg-config"
19 HOST_ARCH="i486 arm"
21 # ARM: imlib2-dev must be installed in build chroot
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 export CFLAGS="$CFLAGS -std=c99"
33 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
35 make
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 cp -a $src/hsetroot $fs/usr/bin
43 }