wok annotate xorg-x11perf/receipt @ rev 10030
gcc: use CONFIGURE_ARGS so we can cross compile from --build system for --host system (Tank: i686 --> i486)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 01:50:57 2011 +0200 (2011-05-20) |
parents | 07ae722ec64e |
children | eb8067417980 |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-x11perf" |
gokhlayeh@6993 | 4 VERSION="1.5.2" |
pankso@3019 | 5 CATEGORY="x-window" |
pankso@3019 | 6 SHORT_DESC="Utility who runs one or more performance tests and reports." |
pankso@3019 | 7 MAINTAINER="paul@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-libXmu xorg-libXft" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXft-dev" |
pankso@3019 | 10 SOURCE="x11perf" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
gokhlayeh@6993 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 14 |
pankso@3019 | 15 # Rules to configure and make the package. |
pankso@3019 | 16 compile_rules() |
pankso@3019 | 17 { |
pankso@3019 | 18 cd $src |
pankso@3019 | 19 ./configure --prefix=/usr \ |
pankso@3019 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pankso@3019 | 21 make && make DESTDIR=$PWD/_pkg install |
pankso@3019 | 22 } |
pankso@3019 | 23 |
pankso@3019 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 25 genpkg_rules() |
pankso@3019 | 26 { |
pankso@3019 | 27 mkdir -p $fs/usr |
pankso@3019 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@3019 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@3019 | 30 } |