wok-current view xorg-xf86-video-sis/receipt @ rev 15341
n2nc: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:40:18 2013 +0000 (2013-09-29) |
parents | |
children | eb8067417980 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-sis"
4 VERSION="0.10.7"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg driver for SIS cards."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="xf86-video-sis"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
12 TAGS="xorg display"
14 DEPENDS="xorg-server"
15 BUILD_DEPENDS="xorg-server-dev"
17 MODS='/usr/lib/X11/modules'
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-xorg-module-dir=$MODS \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/X11/modules/drivers/
38 cp -a $install/usr/lib/X11/modules/drivers/*.so \
39 $fs/usr/lib/X11/modules/drivers/
40 }