diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:22 (GMT) |
commit | e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch) | |
tree | bee3fe89f2988dd244e11791755e129aa8c03b14 /abs/not_built/extra/community/libdnet | |
parent | 8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff) | |
download | linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2 |
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/not_built/extra/community/libdnet')
-rw-r--r-- | abs/not_built/extra/community/libdnet/PKGBUILD | 33 | ||||
-rw-r--r-- | abs/not_built/extra/community/libdnet/libdnet.install | 3 |
2 files changed, 36 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/libdnet/PKGBUILD b/abs/not_built/extra/community/libdnet/PKGBUILD new file mode 100644 index 0000000..70cf6e4 --- /dev/null +++ b/abs/not_built/extra/community/libdnet/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 27071 2010-09-17 12:26:08Z schuay $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: James Fryman <jfryman@gmail.com> + +pkgname=libdnet +pkgver=1.12 +pkgrel=5 +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') +source=(http://libdnet.googlecode.com/files/libdnet-$pkgver.tgz) +md5sums=('9253ef6de1b5e28e9c9a62b882e44cc9') + +build() { + mkdir -p $pkgdir/usr/bin + + [ $CARCH == "x86_64" ] && export CFLAGS=-fPIC + + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make && 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/abs/not_built/extra/community/libdnet/libdnet.install b/abs/not_built/extra/community/libdnet/libdnet.install new file mode 100644 index 0000000..cb8146f --- /dev/null +++ b/abs/not_built/extra/community/libdnet/libdnet.install @@ -0,0 +1,3 @@ +post_install() { + /sbin/ldconfig +} |