# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils distutils DESCRIPTION="Vodafone Mobile Connect Card driver for Linux is a GPRS/UMTS/HSDPA device manager written in Python" SRC_URI="https://forge.vodafonebetavine.net/frs/download.php/49/${P}.tar.gz" HOMEPAGE="https://forge.vodafonebetavine.net/projects/vodafonemobilec/" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="dev-python/dbus-python >=dev-python/twisted-2.5.0 dev-util/glade dev-python/pysqlite net-dialup/wvdial dev-python/notify-python dev-python/gnome-python-extras dev-python/gnome-python >=dev-python/setuptools-0.6_rc6 x11-libs/gksu" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/gentoo-${PV}.diff } src_install() { python setup.py install --root ${D} dodoc -R doc INSTALL README } # dh_install resources/po/locale usr/share # dh_install contrib/e220/files/huaweiAktBbo usr/sbin/ # dh_install contrib/e220/files/99-huawei-e220.rules etc/udev/rules.d/ # dh_install resources/extra/95VMC-up /etc/ppp/ip-up.d # dh_install INSTALL /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux # dh_install LICENSE /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux # dh_install LICENSE.bsd /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux # dh_install LICENSE.gpl /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux # dh_install LICENSE.lgpl /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux # dh_install README /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux