wok-6.x annotate xorg-xf86-video-savage/receipt @ rev 13953
Up cookutils (3.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 30 08:50:27 2013 +0100 (2013-01-30) |
parents | c514cc4854d8 |
children |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-video-savage" |
pankso@12530 | 4 VERSION="2.3.4" |
pankso@451 | 5 CATEGORY="x-window" |
erjo@4865 | 6 SHORT_DESC="Xorg S3 Savage video driver." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@451 | 8 SOURCE="xf86-video-savage" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 10 WEB_SITE="http://www.x.org/" |
pankso@451 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 12 TAGS="xorg display" |
pankso@451 | 13 |
pankso@12530 | 14 DEPENDS="xorg-server mesa-dri-savage" |
pankso@12530 | 15 BUILD_DEPENDS="xorg-server-dev" |
pankso@12530 | 16 |
pankso@12530 | 17 MODS='/usr/lib/X11/modules' |
pankso@12530 | 18 |
pankso@451 | 19 # Rules to configure and make the package. |
pankso@451 | 20 compile_rules() |
pankso@451 | 21 { |
pankso@12530 | 22 cd $src |
pankso@12530 | 23 ./configure \ |
pankso@12530 | 24 --sysconfdir=/etc \ |
pankso@12530 | 25 --mandir=/usr/share/man \ |
pankso@12530 | 26 --localstatedir=/var \ |
pankso@12530 | 27 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 28 $CONFIGURE_ARGS && |
pankso@12530 | 29 make && make install |
pankso@451 | 30 } |
pankso@451 | 31 |
pankso@451 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 33 genpkg_rules() |
pankso@451 | 34 { |
pankso@12530 | 35 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
pankso@451 | 37 } |
pankso@451 | 38 |