wok-current annotate xorg-xf86-video-r128/receipt @ rev 10972
Up: tor to 0.2.2.33.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:39:17 2011 +0000 (2011-10-12) |
parents | c514cc4854d8 |
children | 6971e86f8875 |
rev | line source |
---|---|
gokhlayeh@7211 | 1 # SliTaz package receipt. |
gokhlayeh@7211 | 2 |
gokhlayeh@7211 | 3 PACKAGE="xorg-xf86-video-r128" |
gokhlayeh@7211 | 4 VERSION="6.8.1" |
gokhlayeh@7211 | 5 CATEGORY="x-window" |
gokhlayeh@7211 | 6 SHORT_DESC="Xorg server Rage128 driver." |
gokhlayeh@7211 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@8077 | 8 DEPENDS="xorg-server mesa-dri-r128" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-server-dev" |
gokhlayeh@7211 | 10 SOURCE="xf86-video-r128" |
gokhlayeh@7211 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
gokhlayeh@7211 | 12 WEB_SITE="http://www.x.org/" |
gokhlayeh@7211 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
gokhlayeh@7211 | 14 TAGS="xorg display" |
gokhlayeh@7211 | 15 |
gokhlayeh@7211 | 16 # Rules to configure and make the package. |
gokhlayeh@7211 | 17 compile_rules() |
gokhlayeh@7211 | 18 { |
gokhlayeh@7211 | 19 cd $src |
gokhlayeh@7211 | 20 ./configure \ |
gokhlayeh@7211 | 21 --prefix=/usr \ |
gokhlayeh@7211 | 22 --sysconfdir=/etc \ |
gokhlayeh@7211 | 23 --mandir=/usr/share/man \ |
gokhlayeh@7211 | 24 --localstatedir=/var \ |
gokhlayeh@7211 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
gokhlayeh@7211 | 26 --enable-dri \ |
gokhlayeh@7211 | 27 $CONFIGURE_ARGS && |
gokhlayeh@7211 | 28 make && |
gokhlayeh@7211 | 29 make DESTDIR=$PWD/_pkg install |
gokhlayeh@7211 | 30 } |
gokhlayeh@7211 | 31 |
gokhlayeh@7211 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7211 | 33 genpkg_rules() |
gokhlayeh@7211 | 34 { |
gokhlayeh@7211 | 35 mkdir -p $fs/usr/lib/X11/modules/drivers |
gokhlayeh@7211 | 36 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
gokhlayeh@7211 | 37 $fs/usr/lib/X11/modules/drivers/ |
gokhlayeh@7211 | 38 } |
gokhlayeh@7211 | 39 |