wok-next annotate xorg-xf86-input-void/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents eb8067417980
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
pascal@4870 2
pascal@4870 3 PACKAGE="xorg-xf86-input-void"
al@19805 4 VERSION="1.4.1"
pascal@4870 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="Dummy/null Xorg input driver"
pascal@4870 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
al@19805 9 WEB_SITE="https://www.x.org/wiki/"
al@19805 10
al@19805 11 TARBALL="xf86-input-void-$VERSION.tar.bz2"
pascal@4870 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4870 13
al@19805 14 BUILD_DEPENDS="xorg-util-macros xorg-server-dev"
al@19805 15 SPLIT="xorg-xf86-input-void-dev"
al@19805 16 PKG_RULE="std-dev"
pascal@15164 17
pascal@4870 18 # Rules to configure and make the package.
pascal@4870 19 compile_rules()
pascal@4870 20 {
al@19805 21 ./configure \
al@19805 22 --sysconfdir=/etc \
al@19805 23 --localstatedir=/var \
al@19805 24 $CONFIGURE_ARGS &&
al@19805 25 make &&
al@19805 26 make install
pascal@4870 27 }
pascal@4870 28
pascal@4870 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4870 30 genpkg_rules()
pascal@4870 31 {
al@19805 32 case $PACKAGE in
al@19805 33 *-void)
al@19805 34 copy @std
al@19805 35 DEPENDS="xorg-server"
al@19805 36 ;;
al@19805 37 *-dev)
al@19805 38 copy @dev
al@19805 39 DEPENDS="xorg-xf86-input-void xorg-server-dev"
al@19805 40 ;;
al@19805 41 esac
pascal@4870 42 }