wok-current annotate xorg-xf86-video-sis/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 53f06e703bed
children
rev   line source
pankso@451 1 # SliTaz package receipt.
pankso@451 2
pankso@451 3 PACKAGE="xorg-xf86-video-sis"
pankso@12530 4 VERSION="0.10.4"
pankso@451 5 CATEGORY="x-window"
erjo@4865 6 SHORT_DESC="Xorg driver for SIS cards."
pankso@451 7 MAINTAINER="pankso@slitaz.org"
pankso@451 8 SOURCE="xf86-video-sis"
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-sis"
pankso@12530 15 BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto xorg-xf86driproto"
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 --enable-dri \
pankso@12530 29 $CONFIGURE_ARGS &&
pankso@12530 30 make && make install
pankso@451 31 }
pankso@451 32
pankso@451 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@451 34 genpkg_rules()
pankso@451 35 {
pankso@12530 36 mkdir -p ${fs}${MODS}/drivers
pankso@12530 37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
pankso@451 38 }
pankso@451 39