wok-undigest annotate xorg-xf86-video-mga/receipt @ rev 1120
Add sysdig
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 04 14:36:46 2014 +0000 (2014-04-04) |
parents | 980ac6fe253d |
children |
rev | line source |
---|---|
pascal@956 | 1 # SliTaz package receipt. |
pascal@956 | 2 |
pascal@956 | 3 PACKAGE="xorg-xf86-video-mga" |
pascal@956 | 4 VERSION="1.5.0" |
pascal@956 | 5 CATEGORY="x-window" |
pascal@956 | 6 SHORT_DESC="Xorg driver for Matrox cards." |
pascal@956 | 7 MAINTAINER="keupont@no-log.org" |
pascal@1069 | 8 LICENSE="MIT" |
pascal@956 | 9 SOURCE="xf86-video-mga" |
pascal@956 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@956 | 11 WEB_SITE="http://www.x.org/" |
pascal@956 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pascal@956 | 13 TAGS="xorg display" |
pascal@956 | 14 |
pascal@956 | 15 DEPENDS="xorg-server mesa-dri-mga" |
pascal@956 | 16 BUILD_DEPENDS="xorg-server-dev" |
pascal@956 | 17 |
pascal@956 | 18 MODS='/usr/lib/X11/modules' |
pascal@956 | 19 |
pascal@956 | 20 # Rules to configure and make the package. |
pascal@956 | 21 compile_rules() |
pascal@956 | 22 { |
pascal@956 | 23 cd $src |
pascal@956 | 24 ./configure \ |
pascal@956 | 25 --sysconfdir=/etc \ |
pascal@956 | 26 --mandir=/usr/share/man \ |
pascal@956 | 27 --localstatedir=/var \ |
pascal@956 | 28 --with-xorg-module-dir=$MODS \ |
pascal@956 | 29 $CONFIGURE_ARGS && |
pascal@956 | 30 make && make install |
pascal@956 | 31 } |
pascal@956 | 32 |
pascal@956 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@956 | 34 genpkg_rules() |
pascal@956 | 35 { |
pascal@956 | 36 mkdir -p ${fs}${MODS}/drivers |
pascal@956 | 37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
pascal@956 | 38 } |