wok-current view xorg-xf86-video-mach64/receipt @ rev 13592
lessfs: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 08 10:00:51 2012 +0100 (2012-11-08) |
parents | 07e986718a5f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-mach64"
4 VERSION="6.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server Mach64 driver."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 SOURCE="xf86-video-mach64"
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-mach64"
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 --enable-dri \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p ${fs}${MODS}/drivers
37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
38 }