wok-next diff xorg-xf86-input-void/receipt @ rev 20123

libsasl-without-ldap, cyrus-sasl-pam: remove autoconf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 09:09:26 2017 +0100 (2017-10-31)
parents eb8067417980
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-input-void/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xf86-input-void/receipt	Tue Oct 31 09:09:26 2017 +0100
     1.3 @@ -1,40 +1,42 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-input-void"
     1.8 -VERSION="1.4.0"
     1.9 +VERSION="1.4.1"
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xorg server protocol."
    1.12 +SHORT_DESC="Dummy/null Xorg input driver"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -SOURCE="xf86-input-void"
    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-void-$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 +BUILD_DEPENDS="xorg-util-macros xorg-server-dev"
    1.26 +SPLIT="xorg-xf86-input-void-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 -	--enable-evcalibrate \
    1.40 -    	$CONFIGURE_ARGS &&
    1.41 -    make &&
    1.42 -    make DESTDIR=$DESTDIR install
    1.43 +	./configure \
    1.44 +		--sysconfdir=/etc \
    1.45 +		--localstatedir=/var \
    1.46 +		$CONFIGURE_ARGS &&
    1.47 +	make &&
    1.48 +	make install
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	mkdir -p $fs/usr/lib/X11/modules/input/
    1.55 -    cp -a $install/usr/lib/X11/modules/input/*.so \
    1.56 -    	$fs/usr/lib/X11/modules/input/
    1.57 +	case $PACKAGE in
    1.58 +		*-void)
    1.59 +			copy @std
    1.60 +			DEPENDS="xorg-server"
    1.61 +			;;
    1.62 +		*-dev)
    1.63 +			copy @dev
    1.64 +			DEPENDS="xorg-xf86-input-void xorg-server-dev"
    1.65 +			;;
    1.66 +	esac
    1.67  }
    1.68 -