wok-next diff xorg-xf86-input-mouse/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents eb8067417980
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-input-mouse/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xf86-input-mouse/receipt	Fri Oct 20 03:29:40 2017 +0300
     1.3 @@ -1,39 +1,42 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-input-mouse"
     1.8 -VERSION="1.7.0"
     1.9 +VERSION="1.9.2"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xorg server protocol."
    1.12 +SHORT_DESC="Xorg mouse input driver"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -SOURCE="xf86-input-mouse"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.x.org/"
    1.18 +WEB_SITE="https://www.x.org/wiki/"
    1.19 +
    1.20 +TARBALL="xf86-input-mouse-$VERSION.tar.bz2"
    1.21  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.22  
    1.23 -DEPENDS="xorg-server"
    1.24  BUILD_DEPENDS="xorg-server-dev"
    1.25 +SPLIT="xorg-xf86-input-mouse-dev"
    1.26 +PKG_RULE="std-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -    cd $src
    1.32 -    ./configure \
    1.33 -    	--prefix=/usr \
    1.34 -    	--sysconfdir=/etc \
    1.35 -    	--mandir=/usr/share/man \
    1.36 -    	--localstatedir=/var \
    1.37 -    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.38 -    	$CONFIGURE_ARGS &&
    1.39 -    make &&
    1.40 -    make DESTDIR=$DESTDIR install
    1.41 +	./configure \
    1.42 +		--sysconfdir=/etc \
    1.43 +		--localstatedir=/var \
    1.44 +		$CONFIGURE_ARGS &&
    1.45 +	make &&
    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/input/
    1.53 -	cp -a $install/usr/lib/X11/modules/input/*.so \
    1.54 -		$fs/usr/lib/X11/modules/input/
    1.55 +	case $PACKAGE in
    1.56 +		*-mouse)
    1.57 +			copy @std
    1.58 +			DEPENDS="xorg-server"
    1.59 +			;;
    1.60 +		*-dev)
    1.61 +			copy @dev
    1.62 +			DEPENDS="xorg-xf86-input-mouse xorg-server-dev"
    1.63 +			;;
    1.64 +	esac
    1.65  }
    1.66 -