wok-current annotate xorg-xf86-video-savage/receipt @ rev 7543

mplayer-svn:add depends
author fireflyoo <lufeng369@gmail.com>
date Tue Dec 07 23:24:12 2010 +0800 (2010-12-07)
parents be313e2832de
children c514cc4854d8
rev   line source
pankso@451 1 # SliTaz package receipt.
pankso@451 2
pankso@451 3 PACKAGE="xorg-xf86-video-savage"
slaxemulator@5367 4 VERSION="2.3.1"
pankso@451 5 CATEGORY="x-window"
erjo@4865 6 SHORT_DESC="Xorg S3 Savage video driver."
pankso@451 7 MAINTAINER="pankso@slitaz.org"
gokhlayeh@6993 8 DEPENDS="xorg xorg-server mesa-dri-savage"
pankso@451 9 BUILD_DEPENDS="xorg-server-dev"
pankso@451 10 SOURCE="xf86-video-savage"
gokhlayeh@6993 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@451 12 WEB_SITE="http://www.x.org/"
pankso@451 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
jozee@5592 14 TAGS="xorg display"
pankso@451 15
pankso@451 16 # Rules to configure and make the package.
pankso@451 17 compile_rules()
pankso@451 18 {
pankso@451 19 cd $src
pankso@451 20 ./configure \
pankso@451 21 --prefix=/usr \
pankso@451 22 --sysconfdir=/etc \
pankso@451 23 --mandir=/usr/share/man \
pankso@451 24 --localstatedir=/var \
pankso@451 25 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@451 26 $CONFIGURE_ARGS
pankso@451 27 make
pankso@451 28 make DESTDIR=$PWD/_pkg install
pankso@451 29 }
pankso@451 30
pankso@451 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@451 32 genpkg_rules()
pankso@451 33 {
pankso@451 34 mkdir -p $fs/usr/lib/X11/modules/drivers/
pankso@451 35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
pankso@451 36 $fs/usr/lib/X11/modules/drivers/
pankso@451 37 }
pankso@451 38