diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-05-09 16:48:17 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-05-09 16:48:17 -0300 |
commit | dccab1509d2289e66edf699d1f90d127648fdeeb (patch) | |
tree | 043678f9989eb4a944a357af0d719df207c84a43 /social/tinc | |
parent | 7d2ceb5a1933d35b6a8bbd556f77854d13d0de37 (diff) |
[social] updates
Diffstat (limited to 'social/tinc')
-rw-r--r-- | social/tinc/PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/social/tinc/PKGBUILD b/social/tinc/PKGBUILD new file mode 100644 index 000000000..8c56c0fc2 --- /dev/null +++ b/social/tinc/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=tinc +pkgver=1.0.13 +pkgrel=2 +pkgdesc="VPN (Virtual Private Network) daemon" +arch=(i686 x86_64) +url="http://www.tinc-vpn.org/" +license=('GPL') +depends=('lzo2' 'zlib' 'openssl') +source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz) +md5sums=('86263994d38c750431efd17e9a91a248') + +build() { + cd "$startdir/src/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make || return 1 + make DESTDIR="$startdir/pkg" install + + mkdir -p $startdir/pkg/etc/tinc/ + tar xzvf doc/sample-config.tar.gz -C $startdir/pkg/etc/tinc/ +} |