wok-next diff xorg-xf86-video-sis/receipt @ rev 19990
lighttpd: add missing SPLIT
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 20 08:05:51 2017 +0200 (2017-10-20) |
parents | eb8067417980 |
children | 757d032c55c7 |
line diff
1.1 --- a/xorg-xf86-video-sis/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xorg-xf86-video-sis/receipt Fri Oct 20 08:05:51 2017 +0200 1.3 @@ -1,42 +1,44 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-xf86-video-sis" 1.8 -VERSION="0.10.7" 1.9 +VERSION="0.10.9" 1.10 CATEGORY="x-window" 1.11 -SHORT_DESC="Xorg driver for SIS cards." 1.12 +SHORT_DESC="Xorg driver for SiS (Silicon Integrated Systems) and XGI video \ 1.13 +chips" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="MIT" 1.16 -SOURCE="xf86-video-sis" 1.17 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://www.x.org/" 1.19 +WEB_SITE="https://www.x.org/wiki/sis/" 1.20 + 1.21 +TARBALL="xf86-video-sis-$VERSION.tar.bz2" 1.22 WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.23 -TAGS="xorg display" 1.24 1.25 -DEPENDS="xorg-server" 1.26 -BUILD_DEPENDS="xorg-server-dev" 1.27 - 1.28 -MODS='/usr/lib/X11/modules' 1.29 +BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto" 1.30 +SPLIT="xorg-xf86-video-sis-dev" 1.31 +PKG_RULE="std-dev" 1.32 1.33 # Rules to configure and make the package. 1.34 compile_rules() 1.35 { 1.36 - cd $src 1.37 ./configure \ 1.38 - --prefix=/usr \ 1.39 --sysconfdir=/etc \ 1.40 - --mandir=/usr/share/man \ 1.41 --localstatedir=/var \ 1.42 - --with-xorg-module-dir=$MODS \ 1.43 $CONFIGURE_ARGS && 1.44 make && 1.45 - make DESTDIR=$DESTDIR install 1.46 + make install 1.47 } 1.48 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - mkdir -p $fs/usr/lib/X11/modules/drivers/ 1.53 - cp -a $install/usr/lib/X11/modules/drivers/*.so \ 1.54 - $fs/usr/lib/X11/modules/drivers/ 1.55 + case $PACKAGE in 1.56 + *-sis) 1.57 + copy @std 1.58 + DEPENDS="xorg-server" 1.59 + TAGS="xorg display" 1.60 + ;; 1.61 + *-dev) 1.62 + copy @dev 1.63 + DEPENDS="xorg-xf86-video-sis xorg-server-dev" 1.64 + ;; 1.65 + esac 1.66 } 1.67 -