wok view xorg-x11perf/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | c514cc4854d8 |
children | 23ce1447493d |
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 LICENSE="MIT"
9 SOURCE="x11perf"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://xorg.freedesktop.org/"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 DEPENDS="xorg-libXmu xorg-libXft"
15 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXft-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }