diff options
Diffstat (limited to 'x11-drivers/wizardpen/wizardpen-9999.ebuild')
-rw-r--r-- | x11-drivers/wizardpen/wizardpen-9999.ebuild | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/x11-drivers/wizardpen/wizardpen-9999.ebuild b/x11-drivers/wizardpen/wizardpen-9999.ebuild deleted file mode 100644 index 02afbaf..0000000 --- a/x11-drivers/wizardpen/wizardpen-9999.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=5 - -inherit linux-mod eutils bzr - -EBZR_REPO_URI="https://code.launchpad.net/~wizardpen-devs/wizardpen/trunk" - -DESCRIPTION="Driver for Genius Wizardpen Tablets" -HOMEPAGE="https://launchpad.net/wizardpen" -SRC_URI="" - -RDEPEND="x11-base/xorg-server - x11-libs/libX11 - x11-libs/libXext - x11-misc/xautomation - x11-apps/xinput" - -DEPEND="${RDEPEND}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -src_unpack() { - if kernel_is 2 4; then - die "You must use 2.6.X kernel with ${PN}" - fi - if ! linux_chkconfig_module INPUT_EVDEV - then - if ! linux_chkconfig_present INPUT_EVDEV - then - eerror "${PN} requires evdev support for USB tablets" - eerror "In your .config: CONFIG_INPUT_EVDEV=y or CONFIG_INPUT_EVDEV=m" - eerror "Through 'make menuconfig':" - eerror "Device Drivers-> Input device support-> [*] Event interface or" - eerror "Device Drivers-> Input device support-> [M] Event interface" - eerror "" - eerror "If compiled as modules add evdev to /etc/modules.autoload/kernel-2.6" - die "Please build evdev support first" - fi - fi - if ! linux_chkconfig_present USB_HID - then - eerror "${PN} requires USB Human Interface Device support for USB tablets" - eerror "In your .config: CONFIG_USB_HID=y or CONFIG_USB_HID=m" - eerror "Through 'make menuconfig':" - eerror "Device Drivers-> USB support-> [*] USB Human Interface Device (full HID) support or" - eerror "Device Drivers-> USB support-> [M] USB Human Interface Device (full HID) support" - eerror "" - eerror "If compiled as modules add usbhid to /etc/modules.autoload/kernel-2.6" - die "Please build USB HID support first" - fi - bzr_fetch || die "${EBZR}: unknown problem in bzr_fetch()." - cd ${S} -} - -src_configure() { - (./autogen.sh) || die "autogen.sh failed" - econf || die "econf failed" -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - exeinto /usr/lib/xorg/modules/drivers/ - doexe src/.libs/wizardpen_drv.so - - exeinto /usr/bin - doexe calibrate/wizardpen-calibrate - - dodoc README.XOrg DEVICES - - doman man/wizardpen.4 - - insinto /lib/udev/rules.d - doins udev/67-xorg-wizardpen.rules - - insinto /usr/share/X11/xorg.conf.d - doins xorg/70-wizardpen.conf -} - -pkg_postinst() { - einfo "" - einfo "You can set tablet working area useing wizardpen-calibrate tool, see" - einfo "README.calibrate file from /usr/share/doc/${P} for more details." - einfo "" -} |