wok view hsetroot/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
27 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 export CFLAGS="$CFLAGS -std=c99"
34 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
36 make
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 cp -a $src/hsetroot $fs/usr/bin
44 }