# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.9.ebuild,v 1.4 2005/08/23 14:46:25 swegener Exp $ inherit distutils IUSE="" DESCRIPTION="front-end for gammu (Nokia and others mobiles)" HOMEPAGE="http://www.cihar.com/gammu/wammu/" SRC_URI="http://www.cihar.com/gammu/wammu/${P}.tar.bz2" LICENSE="GPL-2" IUSE="bluetooth gnome" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" #gnome-bluetooth is used for additional functionality - see bug #101067 RDEPEND=">=dev-lang/python-2.3.0 >=dev-python/wxpython-2.4.1.2 >=dev-python/python-gammu-0.7 app-mobilephone/gammu gnome? ( bluetooth? ( net-wireless/gnome-bluetooth ) )" DEPEND="dev-util/pkgconfig ${RDEPEND}" src_compile() { # SKIPWXCHECK: else 'import wx' results in # Xlib: connection to ":0.0" refused by server SKIPWXCHECK=yes distutils_src_compile } src_install() { DOCS="AUTHORS FAQ TODO NEWS" SKIPWXCHECK=yes distutils_src_install insinto /usr/share/pixmaps doins ${FILESDIR}/${PN}.png insinto /usr/share/applications doins ${FILESDIR}/${PN}.desktop }