wok-stable annotate xorg-xf86-video-mga/receipt @ rev 4198

arj: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 20:55:59 2009 +0200 (2009-09-23)
parents de989225f5ab
children be313e2832de
rev   line source
pankso@2626 1 # SliTaz package receipt.
pankso@2626 2
pankso@2626 3 PACKAGE="xorg-xf86-video-mga"
pankso@3016 4 VERSION="1.4.9"
pankso@2626 5 CATEGORY="x-window"
pankso@2626 6 SHORT_DESC="Xorg driver for Matrox cards."
pankso@2626 7 MAINTAINER="keupont@no-log.org"
pankso@2626 8 DEPENDS="xorg xorg-server"
pankso@2626 9 BUILD_DEPENDS="xorg-server-dev"
pankso@2626 10 SOURCE="xf86-video-mga"
pankso@2626 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@2626 12 WEB_SITE="http://www.x.org/"
pankso@2626 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@2626 14
pankso@2626 15 # Rules to configure and make the package.
pankso@2626 16 compile_rules()
pankso@2626 17 {
pankso@2626 18 cd $src
pankso@2626 19 ./configure \
pankso@2626 20 --prefix=/usr \
pankso@2626 21 --sysconfdir=/etc \
pankso@2626 22 --mandir=/usr/share/man \
pankso@2626 23 --localstatedir=/var \
pankso@2626 24 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@2626 25 $CONFIGURE_ARGS &&
pankso@2626 26 make &&
pankso@2626 27 make DESTDIR=$PWD/_pkg install
pankso@2626 28 }
pankso@2626 29
pankso@2626 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2626 31 genpkg_rules()
pankso@2626 32 {
pankso@2626 33 mkdir -p $fs/usr/lib/X11/modules/drivers/
pankso@2626 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
pankso@2626 35 $fs/usr/lib/X11/modules/drivers/
pankso@2626 36 }