diff options
Diffstat (limited to 'dev-python/pylibpcap/pylibpcap-0.5.1.ebuild')
-rw-r--r-- | dev-python/pylibpcap/pylibpcap-0.5.1.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild index 75ec79ff0a35..b259fd858955 100644 --- a/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild +++ b/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.2 2006/04/01 15:24:10 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylibpcap/pylibpcap-0.5.1.ebuild,v 1.3 2006/09/19 20:58:21 liquidx Exp $ -inherit distutils +inherit distutils eutils DESCRIPTION="Python interface to libpcap" HOMEPAGE="http://sourceforge.net/projects/${PN}/" @@ -14,7 +14,16 @@ KEYWORDS="~amd64 ~ia64 ~x86" IUSE="" DEPEND="virtual/python - virtual/libpcap" + virtual/libpcap + dev-lang/swig" + +src_unpack() { + unpack ${A} + cd ${S} + if $(has_version \>=dev-lang/swig-1.3.29); then + epatch ${FILESDIR}/${PN}-swig-1.3.29.patch + fi +} src_install() { distutils_src_install |