wok-current view xorg-xf86-video-s3/receipt @ rev 3000

slim: Fix pre_install func to backup config file (Thanks firmit)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 21:44:31 2009 +0200 (2009-05-11)
parents
children 086916aa96e8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-s3"
4 VERSION="0.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for trident cards."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server"
9 BUILD_DEPENDS="xorg-server-dev"
10 SOURCE="xf86-video-s3"
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 }