SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtkperf"

# SliTaz package receipt.

PACKAGE="gtkperf"
VERSION="0.40"
CATEGORY="utilities"
SHORT_DESC="Application designed to test GTK+ performance."
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
TARBALL="${PACKAGE}_${VERSION}.tar.gz"
WEB_SITE="https://gtkperf.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="gtk+"
BUILD_DEPENDS="gtk+-dev gettext autoconf"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/gtkperf/files/gtkperf/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/gtkperf/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|/doc|/share&|' Makefile*
    ./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
    make &&
    make DESTDIR=$DESTDIR install
}

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