summaryrefslogtreecommitdiff
path: root/community/libdnet
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-24 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-12-24 23:14:50 +0000
commit2d2e64c7c198ff82ea6e306f7673168dcf5ddca7 (patch)
treed1db6175abc5826c498c3140c028b5b7fbac5ee1 /community/libdnet
parentd53a615fd6ab6dfeb42da11086f96698cb08fe40 (diff)
Sat Dec 24 23:14:50 UTC 2011
Diffstat (limited to 'community/libdnet')
-rw-r--r--community/libdnet/PKGBUILD17
-rw-r--r--community/libdnet/libdnet.install2
2 files changed, 10 insertions, 9 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/
}
diff --git a/community/libdnet/libdnet.install b/community/libdnet/libdnet.install
index cb8146f24..3264378fd 100644
--- a/community/libdnet/libdnet.install
+++ b/community/libdnet/libdnet.install
@@ -1,3 +1,3 @@
post_install() {
- /sbin/ldconfig
+ /sbin/ldconfig
}