From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/gnunet/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community/gnunet/PKGBUILD (limited to 'community/gnunet/PKGBUILD') diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD new file mode 100644 index 000000000..a7117f1e3 --- /dev/null +++ b/community/gnunet/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 43135 2011-03-24 08:18:05Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: wahnby + +pkgname=gnunet +pkgver=0.9.0pre2 +pkgrel=1 +pkgdesc="A framework for secure peer-to-peer networking" +arch=('i686' 'x86_64') +url="http://gnunet.org" +license=('GPL') +depends=('gmp' 'libgcrypt' 'libextractor' 'sqlite3' 'guile' 'curl' 'libglade' + 'adns' 'libmicrohttpd') +makedepends=('gettext' 'pkgconfig') +backup=(etc/gnunetd.conf) +options=('!libtool' '!makeflags') +source=(ftp://ftp.gnu.org/gnu/gnunet/gnunet-$pkgver.tar.gz + gnunet.rc + gnunet.conf.d + build-fix.patch) +md5sums=('a4d0fad4f6fc6b520b3b73ee54167270' + '0d62ab7f2a28af3ac082015696ee6ef3' + 'f161b46915736e4017e77ad735521453' + 'c646e634754e29004bb569873a270bf1') + +build() { + cd $srcdir/gnunet-$pkgver + unset LDFLAGS + patch -p1 <$srcdir/build-fix.patch + [ -f Makefile ] || ./configure --prefix=/usr --without-mysql + make + make DESTDIR=$pkgdir install + install -D -m0755 $srcdir/gnunet.rc $pkgdir/etc/rc.d/gnunetd + install -D -m0644 $srcdir/gnunet.conf.d $pkgdir/etc/conf.d/gnunetd + install -D -m0644 $srcdir/gnunet-$pkgver/contrib/defaults.conf $pkgdir/etc/gnunetd.conf + rm -rf $pkgdir/usr/include/libltdl $pkgdir/usr/lib/libltdl.* $pkgdir/usr/include/ltdl.h +} -- cgit v1.2.3-54-g00ecf