wok-6.x annotate gtkperf/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents f6af821600e6
children 7dd01dedad38
rev   line source
devl547@5222 1 # SliTaz package receipt.
devl547@5222 2
devl547@5222 3 PACKAGE="gtkperf"
devl547@5222 4 VERSION="0.40"
devl547@5222 5 CATEGORY="utilities"
devl547@5222 6 SHORT_DESC="Application designed to test GTK+ performance."
devl547@5222 7 MAINTAINER="devl547@gmail.com"
pascal@15589 8 LICENSE="GPL2"
al@19001 9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
devl547@5222 10 WEB_SITE="http://gtkperf.sourceforge.net/"
al@19001 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15589 12
devl547@5222 13 DEPENDS="gtk+"
pascal@15590 14 BUILD_DEPENDS="gtk+-dev gettext autoconf"
devl547@5222 15
pascal@24403 16 # What is the latest version available today?
pascal@24403 17 current_version()
pascal@24403 18 {
pascal@24403 19 wget -O - https://sourceforge.net/projects/gtkperf/files/gtkperf/ 2>/dev/null | \
pascal@24403 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 21 sed '/scope="row/!d;s|.*/gtkperf/||;s|/.*||;q'
pascal@24403 22 }
pascal@24403 23
devl547@5222 24 # Rules to configure and make the package.
devl547@5222 25 compile_rules()
devl547@5222 26 {
pascal@19290 27 sed -i 's|/doc|/share&|' Makefile*
pascal@15159 28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
devl547@5222 29 make &&
slaxemulator@9034 30 make DESTDIR=$DESTDIR install
devl547@5222 31 }
devl547@5222 32
devl547@5222 33 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5222 34 genpkg_rules()
devl547@5222 35 {
pascal@19290 36 mkdir -p $fs/usr/share
pascal@15589 37 cp -a $install/usr/bin $fs/usr
pascal@19290 38 cp -a $install/usr/share/pixmaps $fs/usr/share
devl547@5222 39 }