diff options
author | 2007-12-30 16:09:29 +0000 | |
---|---|---|
committer | 2007-12-30 16:09:29 +0000 | |
commit | fdabfffdc63715f42f4793dfba044d7dce464602 (patch) | |
tree | 92a1788a0fffdddfc71c12394af9338c797d1024 /x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild | |
parent | Version bump, remove old (diff) | |
download | gentoo-2-fdabfffdc63715f42f4793dfba044d7dce464602.tar.gz gentoo-2-fdabfffdc63715f42f4793dfba044d7dce464602.tar.bz2 gentoo-2-fdabfffdc63715f42f4793dfba044d7dce464602.zip |
Version bump (bug #147537)
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild')
-rw-r--r-- | x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild new file mode 100644 index 000000000000..c0a2a94df8b6 --- /dev/null +++ b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild,v 1.1 2007/12/30 16:09:28 rbu Exp $ + +inherit eutils autotools + +DESCRIPTION="Input driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" + +IUSE="gtk tcl tk usb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="|| ( ( x11-proto/inputproto + x11-base/xorg-server ) + virtual/x11 ) + media-libs/libpixman + gtk? ( >=x11-libs/gtk+-2 ) + tcltk? ( dev-lang/tcl dev-lang/tk ) + sys-fs/udev + sys-libs/ncurses" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + usb? ( >=sys-kernel/linux-headers-2.6 )" +S=${WORKDIR}/${P/_p/-} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix multilib-strict error for Tcl/Tk library install + sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in + + epatch "${FILESDIR}"/${P%_p*}-pDev.patch + + eautoreconf +} + +src_compile() { + if use gtk; then + myconf="--with-gtk=2.0" + else + myconf="--with-gtk=no" + fi + + econf ${myconf} \ + $(use_with tcl tcl) \ + $(use_with tk tk) \ + --enable-wacomdrv --enable-wacdump \ + --enable-xsetwacom --enable-dlloader || die "econf failed" + + unset ARCH + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed." + + insinto /etc/udev/rules.d/ + newins "${FILESDIR}"/xserver-xorg-input-wacom.udev 60-wacom.rules + + dohtml -r docs/* + dodoc AUTHORS ChangeLog NEWS README +} |