wok annotate 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 |
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" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@3019 | 9 SOURCE="x11perf" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 11 WEB_SITE="http://xorg.freedesktop.org/" |
gokhlayeh@6993 | 12 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 13 |
pascal@15579 | 14 DEPENDS="xorg-libXmu xorg-libXft" |
pascal@15579 | 15 BUILD_DEPENDS="xorg-libXmu-dev xorg-libXft-dev" |
pascal@15579 | 16 |
pankso@3019 | 17 # Rules to configure and make the package. |
pankso@3019 | 18 compile_rules() |
pankso@3019 | 19 { |
pankso@3019 | 20 cd $src |
pankso@3019 | 21 ./configure --prefix=/usr \ |
pankso@3019 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@15579 | 23 make && make DESTDIR=$DESTDIR install |
pankso@3019 | 24 } |
pankso@3019 | 25 |
pankso@3019 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 27 genpkg_rules() |
pankso@3019 | 28 { |
pankso@3019 | 29 mkdir -p $fs/usr |
pascal@15579 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 31 cp -a $install/usr/lib $fs/usr |
pankso@3019 | 32 } |