wok-current view xorg-xf86-video-savage/receipt @ rev 16724

Add cgal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 02 20:08:48 2014 +0000 (2014-06-02)
parents 57bce5776848
children 814c58f64f83
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-savage"
4 VERSION="2.3.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for Trident savage cards."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-savage"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server"
16 BUILD_DEPENDS="xorg-server-dev"
18 MODS='/usr/lib/X11/modules'
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-xorg-module-dir=$MODS \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/X11/modules/drivers/
39 cp -a $install/usr/lib/X11/modules/drivers/*.so \
40 $fs/usr/lib/X11/modules/drivers/
41 }