SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "hsetroot"

# SliTaz package receipt.

PACKAGE="hsetroot"
VERSION="1.0.5"
CATEGORY="x-window"
TAGS="wallpaper"
SHORT_DESC="Tool to set desktop wallpaper."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/himdel/hsetroot"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"

DEPENDS="freetype imlib2 libpng xorg-libX11 xorg-libXau 
    xorg-libXdmcp xorg-libXext"
BUILD_DEPENDS="imlib2-dev libpng-dev pkg-config"

HOST_ARCH="i486 arm"

# ARM: imlib2-dev must be installed in build chroot

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CFLAGS="$CFLAGS -std=c99"
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"

    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/hsetroot    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)