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