wok annotate xorg-x11perf/receipt @ rev 25451

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