wok-next annotate xorg-x11perf/receipt @ rev 3459
get-softmodem-driver: simplifying the build process
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Mon Jun 15 21:45:58 2009 +0200 (2009-06-15) |
parents | |
children | 413b0174114a |
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" |
pankso@3019 | 8 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXmu" |
pankso@3019 | 9 BUILD_DEPENDS="xorg-libXdmcp-dev xorg-kbproto xorg-xproto" |
pankso@3019 | 10 SOURCE="x11perf" |
pankso@3019 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3019 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
pankso@3019 | 13 WGET_URL="http://xorg.freedesktop.org/releases/X11R7.4/src/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 } |