Magellan Linux

Annotation of /branches/magellan-next/core/xf86-input-vmmouse/xf86-input-vmmouse-12.6.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6620 - (hide annotations) (download)
Thu Sep 9 16:46:09 2010 UTC (13 years, 9 months ago) by niro
File size: 1157 byte(s)
auto added: ver bump to 12.6.10-r1
1 niro 6620 # $Id: xf86-input-vmmouse-12.6.9-r1.smage2 5306 2010-04-20 19:30:37Z niro $
2    
3     PNAME="xf86-input-vmmouse"
4     PVER="12.6.10"
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
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     }