wok-current view xorg-x11perf/receipt @ rev 13571

lxde: Add local root variable to post_install and post_remove scripts so tazpkg --root will work with it.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 04 09:14:01 2012 +0000 (2012-11-04)
parents 07ae722ec64e
children eb8067417980
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 }