wok-current annotate xorg-xf86-video-mga/receipt @ rev 10952
Update get-xnviewmp (thanks Saipul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 11 15:55:20 2011 +0200 (2011-09-11) |
parents | c514cc4854d8 |
children | 6971e86f8875 |
rev | line source |
---|---|
pankso@2626 | 1 # SliTaz package receipt. |
pankso@2626 | 2 |
pankso@2626 | 3 PACKAGE="xorg-xf86-video-mga" |
slaxemulator@8083 | 4 VERSION="1.4.13" |
pankso@2626 | 5 CATEGORY="x-window" |
pankso@2626 | 6 SHORT_DESC="Xorg driver for Matrox cards." |
pankso@2626 | 7 MAINTAINER="keupont@no-log.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-server mesa-dri-mga" |
pankso@2626 | 9 BUILD_DEPENDS="xorg-server-dev" |
pankso@2626 | 10 SOURCE="xf86-video-mga" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@2626 | 12 WEB_SITE="http://www.x.org/" |
pankso@2626 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 14 TAGS="xorg display" |
pankso@2626 | 15 |
pankso@2626 | 16 # Rules to configure and make the package. |
pankso@2626 | 17 compile_rules() |
pankso@2626 | 18 { |
pankso@2626 | 19 cd $src |
pankso@2626 | 20 ./configure \ |
pankso@2626 | 21 --prefix=/usr \ |
pankso@2626 | 22 --sysconfdir=/etc \ |
pankso@2626 | 23 --mandir=/usr/share/man \ |
pankso@2626 | 24 --localstatedir=/var \ |
pankso@2626 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@2626 | 26 $CONFIGURE_ARGS && |
pankso@2626 | 27 make && |
pankso@2626 | 28 make DESTDIR=$PWD/_pkg install |
pankso@2626 | 29 } |
pankso@2626 | 30 |
pankso@2626 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2626 | 32 genpkg_rules() |
pankso@2626 | 33 { |
pankso@2626 | 34 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@2626 | 35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@2626 | 36 $fs/usr/lib/X11/modules/drivers/ |
pankso@2626 | 37 } |