wok-next diff xorg-xf86-video-vesa/receipt @ rev 20002

Up qps, avidemux, tea
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 23:49:15 2017 +0200 (2017-10-20)
parents eb8067417980
children 0e7893ac206d
line diff
     1.1 --- a/xorg-xf86-video-vesa/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xf86-video-vesa/receipt	Fri Oct 20 23:49:15 2017 +0200
     1.3 @@ -1,38 +1,44 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-video-vesa"
     1.8 -VERSION="2.3.2"
     1.9 +VERSION="2.3.4"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xorg Vesa video driver."
    1.12 +SHORT_DESC="Xorg driver for generic VESA video cards"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -SOURCE="xf86-video-vesa"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.x.org/"
    1.18 +WEB_SITE="https://www.x.org/wiki/vesa/"
    1.19 +
    1.20 +TARBALL="xf86-video-vesa-$VERSION.tar.bz2"
    1.21  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.22  
    1.23 -# We can use xorg-server-light with evdev and vesa driver.
    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-vesa-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  		--sysconfdir=/etc \
    1.37  		--localstatedir=/var \
    1.38 -		--with-xorg-module-dir=$MODS \
    1.39  		$CONFIGURE_ARGS &&
    1.40 -	make && make install
    1.41 +	make &&
    1.42 +	make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p ${fs}${MODS}/drivers
    1.49 -	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
    1.50 +	case $PACKAGE in
    1.51 +		*-vesa)
    1.52 +			copy @std
    1.53 +			# We can use xorg-server-light with evdev and vesa driver.
    1.54 +			#DEPENDS="xorg-server"
    1.55 +			TAGS="xorg display"
    1.56 +			;;
    1.57 +		*-dev)
    1.58 +			copy @dev
    1.59 +			DEPENDS="xorg-xf86-video-vesa xorg-server-dev"
    1.60 +			;;
    1.61 +	esac
    1.62  }
    1.63 -