wok-6.x view xorg-xf86-video-nv/receipt @ rev 1084

Fix backup for repack_cleanup in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 16 15:42:10 2008 +0000 (2008-07-16)
parents
children 6a6ba65f2ad7
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-nv"
4 VERSION="2.1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server protocol."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server"
9 SOURCE="xf86-video-nv"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --localstatedir=/var \
23 --with-xorg-module-dir=/usr/lib/X11/modules \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/X11/modules/drivers/
33 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
34 $fs/usr/lib/X11/modules/drivers/
35 }