SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-x11perf"

# SliTaz package receipt.

PACKAGE="xorg-x11perf"
VERSION="1.6.1"
CATEGORY="x-window"
SHORT_DESC="Utility that runs one or more performance tests and reports."
MAINTAINER="paul@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.x.org/wiki/"

SOURCE="x11perf"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/app/$TARBALL"

DEPENDS="xorg-libXft xorg-libXmu"
BUILD_DEPENDS="xorg-libXft-dev xorg-libXmu-dev"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --mandir=/usr/share/man    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr

    cp -a $install/usr/bin    $fs/usr
    cp -a $install/usr/lib    $fs/usr
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)