wok-next diff xorg-xf86-input-mutouch/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 9d996cff90a4
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-input-mutouch/receipt	Thu Dec 26 19:40:15 2013 +0000
     1.2 +++ b/xorg-xf86-input-mutouch/receipt	Tue Mar 06 03:00:01 2018 +0200
     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-mutouch"
     1.8  VERSION="1.3.0"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg server protocol."
    1.11 +SHORT_DESC="Xorg input driver for Microtouch devices"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="xf86-input-mutouch"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.x.org/"
    1.17 +WEB_SITE="https://www.x.org/wiki/"
    1.18 +
    1.19 +TARBALL="xf86-input-mutouch-$VERSION.tar.bz2"
    1.20  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.21  
    1.22 -DEPENDS="xorg-server"
    1.23  BUILD_DEPENDS="xorg-server-dev"
    1.24 +SPLIT="xorg-xf86-input-mutouch-dev"
    1.25 +PKG_RULE="std-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -    cd $src
    1.31 -    ./configure \
    1.32 -    	--prefix=/usr \
    1.33 -    	--sysconfdir=/etc \
    1.34 -    	--mandir=/usr/share/man \
    1.35 -    	--localstatedir=/var \
    1.36 -    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.37 -    	$CONFIGURE_ARGS &&
    1.38 -    make &&
    1.39 -    make DESTDIR=$DESTDIR install
    1.40 +	./configure \
    1.41 +		--sysconfdir=/etc \
    1.42 +		--localstatedir=/var \
    1.43 +		$CONFIGURE_ARGS &&
    1.44 +	make &&
    1.45 +	make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/lib/X11/modules/input/
    1.52 -	cp -a $install/usr/lib/X11/modules/input/*.so \
    1.53 -		$fs/usr/lib/X11/modules/input/
    1.54 +	case $PACKAGE in
    1.55 +		*-mutouch)
    1.56 +			copy @std
    1.57 +			DEPENDS="xorg-server"
    1.58 +			;;
    1.59 +		*-dev)
    1.60 +			copy @dev
    1.61 +			DEPENDS="xorg-xf86-input-mutouch xorg-server-dev"
    1.62 +			;;
    1.63 +	esac
    1.64  }
    1.65 -