Magellan Linux

Contents of /smage/trunk/core/xf86-input-vmmouse/xf86-input-vmmouse-12.6.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 422 - (show annotations) (download)
Thu May 6 23:14:57 2010 UTC (13 years, 11 months ago) by niro
File size: 1093 byte(s)
auto added: ver bump to 12.6.9-r1
1 # $Id$
2
3 PNAME="xf86-input-vmmouse"
4 PVER="12.6.9"
5 PBUILD="r1"
6
7 PCATEGORIE="x11-drivers"
8 STATE="unstable"
9
10 DESCRIPTION="Xorg input driver for ${PNAME/xf86-input-/} devices."
11 HOMEPAGE="http://xorg.freedesktop.org"
12
13 sminclude xorg mtools mcore
14
15 UP2DATE="updatecmd_xorg ${PNAME}"
16
17 src_compile()
18 {
19 cd ${SRCDIR}
20
21 # use /lib for udev dir on multilib systems too!
22 xorg_src_configure \
23 --with-udev-rules-dir=/lib/udev/rules.d \
24 --with-hal-callouts-dir=/usr/bin \
25 || die
26
27 mmake || die
28
29 }
30
31 src_install()
32 {
33 cd ${SRCDIR}
34 xorg_src_install || die
35
36 # install xorg.conf.d for udev vmmouse driver
37 minstalldir /etc/X11/xorg.conf.d || die
38 minstallfile tools/50-vmmouse.conf /etc/X11/xorg.conf.d || die
39 }
40
41 # reload udev to get the provided udev rules recognized
42 postinstall()
43 {
44 if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] &&
45 [[ -n $(pidof udevd) ]] && [[ ${MAGE_BOOTSTRAP} != true ]]
46 then
47 udevadm control --reload-rules
48 fi
49 }
50
51 postremove()
52 {
53 if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] &&
54 [[ -n $(pidof udevd) ]] && [[ ${MAGE_BOOTSTRAP} != true ]]
55 then
56 udevadm control --reload-rules
57 fi
58 }

Properties

Name Value
svn:keywords Id