wok-current diff xorg-xf86-video-mga/receipt @ rev 12803
linux: dep on kmod for i486 and handle arm ARCH
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 00:04:09 2012 +0200 (2012-05-19) |
parents | 7ab7fb275bbd |
children |
line diff
1.1 --- a/xorg-xf86-video-mga/receipt Fri Jan 21 23:32:20 2011 +0000 1.2 +++ b/xorg-xf86-video-mga/receipt Sat May 19 00:04:09 2012 +0200 1.3 @@ -1,37 +1,37 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xorg-xf86-video-mga" 1.7 -VERSION="1.4.13" 1.8 +VERSION="1.5.0" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Xorg driver for Matrox cards." 1.11 MAINTAINER="keupont@no-log.org" 1.12 -DEPENDS="xorg-server mesa-dri-mga" 1.13 -BUILD_DEPENDS="xorg-server-dev" 1.14 SOURCE="xf86-video-mga" 1.15 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.x.org/" 1.17 WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.18 TAGS="xorg display" 1.19 1.20 +DEPENDS="xorg-server mesa-dri-mga" 1.21 +BUILD_DEPENDS="xorg-server-dev" 1.22 + 1.23 +MODS='/usr/lib/X11/modules' 1.24 + 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 - ./configure \ 1.30 - --prefix=/usr \ 1.31 - --sysconfdir=/etc \ 1.32 - --mandir=/usr/share/man \ 1.33 - --localstatedir=/var \ 1.34 - --with-xorg-module-dir=/usr/lib/X11/modules \ 1.35 - $CONFIGURE_ARGS && 1.36 - make && 1.37 - make DESTDIR=$PWD/_pkg install 1.38 + cd $src 1.39 + ./configure \ 1.40 + --sysconfdir=/etc \ 1.41 + --mandir=/usr/share/man \ 1.42 + --localstatedir=/var \ 1.43 + --with-xorg-module-dir=$MODS \ 1.44 + $CONFIGURE_ARGS && 1.45 + make && make install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/usr/lib/X11/modules/drivers/ 1.52 - cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ 1.53 - $fs/usr/lib/X11/modules/drivers/ 1.54 + mkdir -p ${fs}${MODS}/drivers 1.55 + cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers 1.56 }