wok-next diff xorg-xf86-video-i740/receipt @ rev 19901

Tiny edits: fbterm, gperiodic; up: arpack-ng, libdesktop-agnostic.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 12 17:01:04 2017 +0300 (2017-10-12)
parents 051931e905b0
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-video-i740/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.2 +++ b/xorg-xf86-video-i740/receipt	Thu Oct 12 17:01:04 2017 +0300
     1.3 @@ -1,40 +1,43 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-video-i740"
     1.8 -VERSION="1.3.4"
     1.9 +VERSION="1.3.6"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xorg Intel i740 video driver."
    1.12 +SHORT_DESC="Xorg driver for Intel i740 video cards"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -SOURCE="xf86-video-i740"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.x.org/"
    1.18 +WEB_SITE="https://www.x.org/wiki/i740/"
    1.19 +
    1.20 +TARBALL="xf86-video-i740-$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 +SPLIT="xorg-xf86-video-i740-dev"
    1.27 +PKG_RULE="std-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -    cd $src
    1.33 -    ./configure \
    1.34 -    	--prefix=/usr \
    1.35 -    	--sysconfdir=/etc \
    1.36 -    	--mandir=/usr/share/man \
    1.37 -    	--localstatedir=/var \
    1.38 -    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.39 -    	$CONFIGURE_ARGS &&
    1.40 -    make &&
    1.41 -    make DESTDIR=$DESTDIR install
    1.42 +	./configure \
    1.43 +		--sysconfdir=/etc \
    1.44 +		--localstatedir=/var \
    1.45 +		$CONFIGURE_ARGS &&
    1.46 +	make &&
    1.47 +	make install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.54 -	cp -a $install/usr/lib/X11/modules/drivers/*.so \
    1.55 -		$fs/usr/lib/X11/modules/drivers/
    1.56 +	case $PACKAGE in
    1.57 +		*-i740)
    1.58 +			copy @std
    1.59 +			DEPENDS="xorg-server"
    1.60 +			TAGS="xorg display"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			DEPENDS="xorg-xf86-video-i740 xorg-server-dev"
    1.65 +			;;
    1.66 +	esac
    1.67  }
    1.68 -