diff options
Diffstat (limited to 'community/libdnet/PKGBUILD')
-rw-r--r-- | community/libdnet/PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/community/libdnet/PKGBUILD b/community/libdnet/PKGBUILD index cb3d793a0..433626ab2 100644 --- a/community/libdnet/PKGBUILD +++ b/community/libdnet/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 27071 2010-09-17 12:26:08Z schuay $ +# $Id: PKGBUILD 58611 2011-11-16 15:32:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: James Fryman <jfryman@gmail.com> @@ -9,7 +9,7 @@ pkgdesc="A simplified, portable interface to several low-level networking routin arch=(i686 x86_64 'mips64el') makedepends=(python2) optdepends=(python2) -install=(libdnet.install) +install=libdnet.install license=("BSD") url="http://code.google.com/p/libdnet/" options=('!libtool') @@ -20,9 +20,10 @@ build() { mkdir -p $pkgdir/usr/bin [ $CARCH == "x86_64" ] && export CFLAGS=-fPIC + [ $CARCH == "mips64el" ] && export CFLAGS+=-fPIC cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr + ./configure --prefix=/usr --target=${CHOST} --host=${CHOST} --build=${CHOST} make && make DESTDIR=$pkgdir install cd python && \ |