wok-next diff xorg-xf86-input-evdev/receipt @ rev 19863

Up eudev, make-slitaz-icons, ntfs-3g, pcmanfm, polkit, slitaz-base-files, slitaz-boot-scripts, slitaz-icons-paper.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 01:34:11 2017 +0300 (2017-09-12)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-xf86-input-evdev/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-xf86-input-evdev/receipt	Tue Sep 12 01:34:11 2017 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xf86-input-evdev"
     1.8  VERSION="2.10.3"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Xorg input evdev driver."
    1.11 +SHORT_DESC="Generic Linux input driver"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="https://www.x.org/wiki/"
    1.15 @@ -12,14 +12,12 @@
    1.16  TARBALL="xf86-input-evdev-$VERSION.tar.bz2"
    1.17  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.18  
    1.19 -DEPENDS="eudev libevdev mtdev"
    1.20  BUILD_DEPENDS="xorg-util-macros xorg-server-dev xorg-xproto xorg-inputproto \
    1.21  xorg-dri3proto eudev-dev libevdev-dev mtdev-dev"
    1.22 -
    1.23  # ARM use build system xorg-server-dev or manually install it in sysroot
    1.24 -case "$ARCH" in
    1.25 -	arm) BUILD_DEPENDS="udev-dev" ;;
    1.26 -esac
    1.27 +BUILD_DEPENDS_arm="udev-dev"
    1.28 +SPLIT="xorg-xf86-input-evdev-dev"
    1.29 +PKG_RULE="std-dev"
    1.30  
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33 @@ -28,11 +26,21 @@
    1.34  		--sysconfdir=/etc \
    1.35  		--localstatedir=/var \
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make install
    1.38 +	make &&
    1.39 +	make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	copy *.so *.conf
    1.46 +	case $PACKAGE in
    1.47 +		*-evdev)
    1.48 +			copy @std
    1.49 +			DEPENDS="eudev libevdev mtdev"
    1.50 +			;;
    1.51 +		*-dev)
    1.52 +			copy @dev
    1.53 +			DEPENDS="xorg-xf86-input-evdev eudev-dev libevdev-dev mtdev-dev"
    1.54 +			;;
    1.55 +	esac
    1.56  }