wok-next view xorg-xf86-video-nv/receipt @ rev 1564
vanessa_adt: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 13 14:51:37 2008 +0000 (2008-10-13) |
parents | 887eb5b2711f |
children | 086916aa96e8 |
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 BUILD_DEPENDS="xorg-server xorg-xproto xorg-fontsproto"
10 SOURCE="xf86-video-nv"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
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/drivers/
34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
35 $fs/usr/lib/X11/modules/drivers/
36 }