wok-current view hsetroot/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
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 }