wok-stable view xorg-x11perf/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents 07ae722ec64e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-x11perf"
4 VERSION="1.5.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility who runs one or more performance tests and reports."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="xorg-libXmu xorg-libXft"
9 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXft-dev"
10 SOURCE="x11perf"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://xorg.freedesktop.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }