diff options
author | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
commit | 5c40bb464357d486339e90f4118e4adaa8989e09 (patch) | |
tree | 8b5f680e7867c24eb5f3d1347eef9ea19c92beeb /abs/core/python_modules/python-netifaces/PKGBUILD | |
parent | f9b90df04a227fb2607482bed9a2f56678d95d30 (diff) | |
parent | 59771e9d114b75eafb316e94b7612dda202edd83 (diff) | |
download | linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.zip linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.gz linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/python_modules/python-netifaces/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python-netifaces/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-netifaces/PKGBUILD b/abs/core/python_modules/python-netifaces/PKGBUILD new file mode 100644 index 0000000..258a9c2 --- /dev/null +++ b/abs/core/python_modules/python-netifaces/PKGBUILD @@ -0,0 +1,24 @@ +#Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com> +#Contributor: Gergely Imreh <imrehg(at)gmail(dot)com> +pkgname=python-netifaces +_orig_name=netifaces +pkgver=0.5 +pkgrel=3 +pkgdesc="Portable module to access network interface information in Python." +depends=('python2') +makedepend=('gcc') +arch=('i686' 'x86_64') +url="http://alastairs-place.net/netifaces/" +license=('MIT') +provides=('netifaces' 'python-netifaces') +source=("http://alastairs-place.net/2007/03/netifaces/${_orig_name}-${pkgver}.tar.gz") +build() { + cd "${srcdir}/${_orig_name}-${pkgver}" + python2 setup.py install --root "${pkgdir}" || return 1 + + # Install license, that is inside the readme file + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/README" || return 1 +} +md5sums=('ea662a4b4c7db5d1631cc33bf68eb030') + |