wok-current annotate xorg-xf86-video-mach64/receipt @ rev 11849
busybox, uclibc-cross-compiler-i486: update bdeps again....
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:08:44 2012 +0100 (2012-02-27) |
parents | |
children | 6971e86f8875 |
rev | line source |
---|---|
gokhlayeh@8091 | 1 # SliTaz package receipt. |
gokhlayeh@8091 | 2 |
gokhlayeh@8091 | 3 PACKAGE="xorg-xf86-video-mach64" |
gokhlayeh@8091 | 4 VERSION="6.8.2" |
gokhlayeh@8091 | 5 CATEGORY="x-window" |
gokhlayeh@8091 | 6 SHORT_DESC="Xorg server Mach64 driver." |
gokhlayeh@8091 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@8091 | 8 DEPENDS="xorg-server mesa-dri-mach64" |
gokhlayeh@8091 | 9 BUILD_DEPENDS="xorg-server-dev" |
gokhlayeh@8091 | 10 SOURCE="xf86-video-mach64" |
gokhlayeh@8091 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
gokhlayeh@8091 | 12 WEB_SITE="http://www.x.org/" |
gokhlayeh@8091 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
gokhlayeh@8091 | 14 TAGS="xorg display" |
gokhlayeh@8091 | 15 |
gokhlayeh@8091 | 16 # Rules to configure and make the package. |
gokhlayeh@8091 | 17 compile_rules() |
gokhlayeh@8091 | 18 { |
gokhlayeh@8091 | 19 cd $src |
gokhlayeh@8091 | 20 ./configure \ |
gokhlayeh@8091 | 21 --prefix=/usr \ |
gokhlayeh@8091 | 22 --sysconfdir=/etc \ |
gokhlayeh@8091 | 23 --mandir=/usr/share/man \ |
gokhlayeh@8091 | 24 --localstatedir=/var \ |
gokhlayeh@8091 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
gokhlayeh@8091 | 26 --enable-dri \ |
gokhlayeh@8091 | 27 $CONFIGURE_ARGS && |
gokhlayeh@8091 | 28 make && |
gokhlayeh@8091 | 29 make DESTDIR=$PWD/_pkg install |
gokhlayeh@8091 | 30 } |
gokhlayeh@8091 | 31 |
gokhlayeh@8091 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8091 | 33 genpkg_rules() |
gokhlayeh@8091 | 34 { |
gokhlayeh@8091 | 35 mkdir -p $fs/usr/lib/X11/modules/drivers |
gokhlayeh@8091 | 36 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
gokhlayeh@8091 | 37 $fs/usr/lib/X11/modules/drivers/ |
gokhlayeh@8091 | 38 } |
gokhlayeh@8091 | 39 |