wok-current annotate xorg-xf86-video-s3/receipt @ rev 1574
Up slitaz-boot-scripts (2.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 15:06:01 2008 +0000 (2008-10-15) |
parents | |
children | 086916aa96e8 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-video-s3" |
pankso@451 | 4 VERSION="0.5.0" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg driver for trident cards." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@451 | 8 DEPENDS="xorg xorg-server" |
pankso@451 | 9 BUILD_DEPENDS="xorg-server-dev" |
pankso@451 | 10 SOURCE="xf86-video-s3" |
pankso@451 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@451 | 12 WEB_SITE="http://www.x.org/" |
pankso@451 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 14 |
pankso@451 | 15 # Rules to configure and make the package. |
pankso@451 | 16 compile_rules() |
pankso@451 | 17 { |
pankso@451 | 18 cd $src |
pankso@451 | 19 ./configure \ |
pankso@451 | 20 --prefix=/usr \ |
pankso@451 | 21 --sysconfdir=/etc \ |
pankso@451 | 22 --mandir=/usr/share/man \ |
pankso@451 | 23 --localstatedir=/var \ |
pankso@451 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@451 | 25 $CONFIGURE_ARGS |
pankso@451 | 26 make |
pankso@451 | 27 make DESTDIR=$PWD/_pkg install |
pankso@451 | 28 } |
pankso@451 | 29 |
pankso@451 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 31 genpkg_rules() |
pankso@451 | 32 { |
pankso@451 | 33 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@451 | 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@451 | 35 $fs/usr/lib/X11/modules/drivers/ |
pankso@451 | 36 } |
pankso@451 | 37 |