diff options
author | root <root@rshg054.dnsready.net> | 2011-12-24 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-24 23:14:50 +0000 |
commit | 2d2e64c7c198ff82ea6e306f7673168dcf5ddca7 (patch) | |
tree | d1db6175abc5826c498c3140c028b5b7fbac5ee1 /community/libdnet/PKGBUILD | |
parent | d53a615fd6ab6dfeb42da11086f96698cb08fe40 (diff) |
Sat Dec 24 23:14:50 UTC 2011
Diffstat (limited to 'community/libdnet/PKGBUILD')
-rw-r--r-- | community/libdnet/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/community/libdnet/PKGBUILD b/community/libdnet/PKGBUILD index 0e9854553..3c4c0f057 100644 --- a/community/libdnet/PKGBUILD +++ b/community/libdnet/PKGBUILD @@ -1,15 +1,14 @@ -# $Id: PKGBUILD 58611 2011-11-16 15:32:03Z spupykin $ +# $Id: PKGBUILD 61173 2011-12-23 18:40:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: James Fryman <jfryman@gmail.com> pkgname=libdnet pkgver=1.12 -pkgrel=5 +pkgrel=6 pkgdesc="A simplified, portable interface to several low-level networking routines" arch=(i686 x86_64) makedepends=(python2) optdepends=(python2) -install=libdnet.install license=("BSD") url="http://code.google.com/p/libdnet/" options=('!libtool') @@ -17,17 +16,19 @@ source=(http://libdnet.googlecode.com/files/libdnet-$pkgver.tgz) md5sums=('9253ef6de1b5e28e9c9a62b882e44cc9') build() { - mkdir -p $pkgdir/usr/bin + cd $srcdir/$pkgname-$pkgver - [ $CARCH == "x86_64" ] && export CFLAGS=-fPIC + autoreconf -I config --force --install + ./configure --prefix=/usr + make +} +package() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make && make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir/" install cd python && \ python2 setup.py install --root=$pkgdir install -D -m0644 ../LICENSE $pkgdir/usr/share/licenses/libdnet/license - mv $pkgdir/usr/man $startdir/pkg/usr/share/ } |