wok-next diff xorg-xf86-video-savage/receipt @ rev 20113

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