wok-current view xorg-xf86-input-synaptics/receipt @ rev 16845

netsurf: try default make rules
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 23:41:25 2014 +0300 (2014-07-12)
parents 493d6ffb095b
children 814c58f64f83
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-synaptics"
4 VERSION="1.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg synaptics driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-input-synaptics"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 DEPENDS="xorg-server xorg-libXtst mtdev"
15 BUILD_DEPENDS="xorg-server-dev xorg-libXtst-dev mtdev-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 --with-xorg-module-dir=/usr/lib/X11/modules \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/X11/modules/input/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/X11/modules/input/*.so \
38 $fs/usr/lib/X11/modules/input/
39 mkdir -p $fs/etc/X11/xorg.conf.d
40 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
41 }