wok-next view xorg-xf86-video-mga/receipt @ rev 12530
Up: xorg-xf86-video-* (Update all Xorg video drivers)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 10:44:52 2012 +0200 (2012-04-25) |
parents | 7ab7fb275bbd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-mga"
4 VERSION="1.5.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for Matrox cards."
7 MAINTAINER="keupont@no-log.org"
8 SOURCE="xf86-video-mga"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
12 TAGS="xorg display"
14 DEPENDS="xorg-server mesa-dri-mga"
15 BUILD_DEPENDS="xorg-server-dev"
17 MODS='/usr/lib/X11/modules'
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=$MODS \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p ${fs}${MODS}/drivers
36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
37 }