SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cwallpaper-fltk"

# SliTaz package receipt.

PACKAGE="cwallpaper-fltk"
VERSION="0.4.2"
CATEGORY="system-tools"
SHORT_DESC="PC XT-compatible emulator/virtual machine."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://cwallpaper.sourceforge.net"
WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
HOST_ARCH="i486 arm"

SUGGESTED="hsetroot feh"
DEPENDS="fltk"
BUILD_DEPENDS="fltk-dev"

# What is the latest version available today?
current_version()
{
    wget -O - http://cwallpaper.sourceforge.net/download.php 2>/dev/null | \
    sed '/cwallpaper-fltk/!d;s|.*-fltk_||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i s"#g++#${HOST_SYSTEM}-g++#" Makefile || return 1
    make && mkdir -p ${DESTDIR}/usr/bin/ &&
    make DESTDIR=${DESTDIR} install
}

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