wok-6.x annotate xorg-xf86-video-mga/receipt @ rev 5923
busybox: fix usage patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 28 13:23:18 2010 +0200 (2010-07-28) |
parents | be313e2832de |
children | 07ae722ec64e |
rev | line source |
---|---|
pankso@2626 | 1 # SliTaz package receipt. |
pankso@2626 | 2 |
pankso@2626 | 3 PACKAGE="xorg-xf86-video-mga" |
jozee@5597 | 4 VERSION="1.4.11" |
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" |
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 } |