wok-stable annotate xorg-x11perf/receipt @ rev 5913
ffmpeg-svn: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 11:17:36 2010 +0200 (2010-07-27) |
parents | f6161b2e9e00 |
children | 07ae722ec64e |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-x11perf" |
pankso@3019 | 4 VERSION="1.5" |
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@5008 | 8 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXmu \ |
pascal@5008 | 9 xorg-libXft" |
pankso@3019 | 10 BUILD_DEPENDS="xorg-libXdmcp-dev xorg-kbproto xorg-xproto" |
pankso@3019 | 11 SOURCE="x11perf" |
pankso@3019 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3019 | 13 WEB_SITE="http://xorg.freedesktop.org/" |
pankso@3019 | 14 WGET_URL="http://xorg.freedesktop.org/releases/X11R7.4/src/app/$TARBALL" |
pankso@3019 | 15 |
pankso@3019 | 16 # Rules to configure and make the package. |
pankso@3019 | 17 compile_rules() |
pankso@3019 | 18 { |
pankso@3019 | 19 cd $src |
pankso@3019 | 20 ./configure --prefix=/usr \ |
pankso@3019 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pankso@3019 | 22 make && make DESTDIR=$PWD/_pkg install |
pankso@3019 | 23 } |
pankso@3019 | 24 |
pankso@3019 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 26 genpkg_rules() |
pankso@3019 | 27 { |
pankso@3019 | 28 mkdir -p $fs/usr |
pankso@3019 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@3019 | 30 cp -a $_pkg/usr/lib $fs/usr |
pankso@3019 | 31 } |