wok-next diff xorg-xf86-input-elographics/receipt @ rev 20287

remove pure-ftpd-pam, screen-pam, screen-terminfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:26:01 2017 +0100 (2017-11-08)
parents eb8067417980
children 757d032c55c7
line diff
     1.1 --- a/xorg-xf86-input-elographics/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xorg-xf86-input-elographics/receipt	Wed Nov 08 16:26:01 2017 +0100
     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-elographics"
     1.8  VERSION="1.4.1"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg elographics driver."
    1.11 +SHORT_DESC="Xorg input driver for Elographics touchscreen devices"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="xf86-input-elographics"
    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-elographics-$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 +BUILD_DEPENDS="xorg-server-dev xorg-xproto"
    1.25 +SPLIT="xorg-xf86-input-elographics-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 +		*-elographics)
    1.57 +			copy @std
    1.58 +			DEPENDS="xorg-server"
    1.59 +			;;
    1.60 +		*-dev)
    1.61 +			copy @dev
    1.62 +			DEPENDS="xorg-xf86-input-elographics xorg-server-dev"
    1.63 +			;;
    1.64 +	esac
    1.65  }
    1.66 -