wok-6.x view xorg-xf86-input-mouse/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents 07ae722ec64e
children d3ef0f62e4ba
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-mouse"
4 VERSION="1.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server protocol."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-server"
9 BUILD_DEPENDS="xorg-server-dev"
10 SOURCE="xf86-input-mouse"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --with-xorg-module-dir=/usr/lib/X11/modules \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/X11/modules/input/
34 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
35 $fs/usr/lib/X11/modules/input/
36 }