wok annotate xorg-xf86-input-microtouch/receipt @ rev 15599

Update some bdeps with pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 13:21:20 2013 +0000 (2013-12-05)
parents 940b5937e496
children
rev   line source
pascal@4847 1 # SliTaz package receipt.
pascal@4847 2
pascal@4847 3 PACKAGE="xorg-xf86-input-microtouch"
pascal@4847 4 VERSION="1.2.0"
pascal@4847 5 CATEGORY="x-window"
pascal@4847 6 SHORT_DESC="Xorg server protocol."
pascal@4847 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pascal@4847 9 SOURCE="xf86-input-microtouch"
gokhlayeh@6993 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@4847 11 WEB_SITE="http://www.x.org/"
pascal@4847 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4847 13
pascal@15579 14 DEPENDS="xorg-server"
pascal@15579 15 BUILD_DEPENDS="xorg-server-dev"
pascal@15579 16
pascal@4847 17 # Rules to configure and make the package.
pascal@4847 18 compile_rules()
pascal@4847 19 {
pascal@4847 20 cd $src
pascal@8974 21 grep -qs axis_labels src/microtouch.c || patch -p0 < $stuff/microtouch.u
pascal@4847 22 ./configure \
pascal@4847 23 --prefix=/usr \
pascal@4847 24 --sysconfdir=/etc \
pascal@4847 25 --mandir=/usr/share/man \
pascal@4847 26 --localstatedir=/var \
pascal@4847 27 --with-xorg-module-dir=/usr/lib/X11/modules \
pascal@4847 28 $CONFIGURE_ARGS &&
pascal@4847 29 make &&
pascal@15579 30 make DESTDIR=$DESTDIR install
pascal@4847 31 }
pascal@4847 32
pascal@4847 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4847 34 genpkg_rules()
pascal@4847 35 {
pascal@4847 36 mkdir -p $fs/usr/lib/X11/modules/input/
pascal@15579 37 cp -a $install/usr/lib/X11/modules/input/*.so \
pascal@4847 38 $fs/usr/lib/X11/modules/input/
pascal@4847 39 }
pascal@4847 40