SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "splashutils"

# SliTaz package receipt.

PACKAGE="splashutils"
VERSION="1.5.4.4"
CATEGORY="system-tools"
SHORT_DESC="Framebuffer boot splash screen"
MAINTAINER="devel@slitaz.org"
LICENSE="GPL2&version=current">LGPL2 GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://sourceforge.net/projects/fbsplash.berlios/"
WGET_URL="$SF_MIRROR/fbsplash.berlios/$TARBALL"

DEPENDS="bzlib freetype libjpeg gpm"
BUILD_DEPENDS="autoconf automake libtool jpeg-dev gpm-dev libpng-dev \
freetype-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/fbsplash.berlios/files/ 2>/dev/null | \
    sed '/splashutils-[0-9]/!d;s|.*utils-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    autoreconf --install --force
    LIBS="-lbz2"
    ./configure \
        --sysconfdir=/etc \
        --without-klibc \
        $CONFIGURE_ARGS || exit 1
    sed -i 's|-all-static||' $src/src/Makefile
    make -j 1 && make DESTDIR=$DESTDIR install
}

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