wok-current diff xorg-xf86-video-nv/receipt @ rev 900

Linux: compress modules with lzma
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 12 14:01:54 2008 +0000 (2008-06-12)
parents
children 6a6ba65f2ad7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-nv/receipt	Thu Jun 12 14:01:54 2008 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-nv"
     1.7 +VERSION="2.1.2"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg server protocol."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="xorg xorg-server"
    1.12 +SOURCE="xf86-video-nv"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.x.org/"
    1.15 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +    cd $src
    1.21 +    ./configure \
    1.22 +    	--prefix=/usr \
    1.23 +    	--sysconfdir=/etc \
    1.24 +    	--mandir=/usr/share/man \
    1.25 +    	--localstatedir=/var \
    1.26 +    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.27 +    	$CONFIGURE_ARGS
    1.28 +    make
    1.29 +    make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.36 +    cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.37 +    	$fs/usr/lib/X11/modules/drivers/
    1.38 +}
    1.39 +