wok-next diff xorg-xf86-video-s3/receipt @ rev 1839

transmission: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 11 15:13:23 2008 +0100 (2008-12-11)
parents
children 086916aa96e8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-s3/receipt	Thu Dec 11 15:13:23 2008 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-s3"
     1.7 +VERSION="0.5.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg driver for trident cards."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="xorg xorg-server"
    1.12 +BUILD_DEPENDS="xorg-server-dev"
    1.13 +SOURCE="xf86-video-s3"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +    cd $src
    1.22 +    ./configure \
    1.23 +    	--prefix=/usr \
    1.24 +    	--sysconfdir=/etc \
    1.25 +    	--mandir=/usr/share/man \
    1.26 +    	--localstatedir=/var \
    1.27 +    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.28 +    	$CONFIGURE_ARGS
    1.29 +    make
    1.30 +    make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.37 +    cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.38 +    	$fs/usr/lib/X11/modules/drivers/
    1.39 +}
    1.40 +