wok view xorg-x11perf/receipt @ rev 24226

updated perl-io-tty (1.14 -> 1.16)
author Hans-G?nter Theisgen
date Fri Dec 31 17:52:39 2021 +0100 (2021-12-31)
parents 23ce1447493d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-x11perf"
4 VERSION="1.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility that runs one or more performance tests and reports."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="x11perf"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="xorg-libXft xorg-libXmu"
16 BUILD_DEPENDS="xorg-libXft-dev xorg-libXmu-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }