diff options
author | root <root@rshg054.dnsready.net> | 2012-06-11 00:02:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-11 00:02:18 +0000 |
commit | 4714cec7e8367a7618b168d0db4bc085dbfaac8a (patch) | |
tree | b1f3049ee78988b0db6ec69637a1ee37c8b63b3f /community-staging/miredo/PKGBUILD | |
parent | 7b2739f21a7ed0d52497fa381c9a2383e71ab7a8 (diff) |
Mon Jun 11 00:02:18 UTC 2012
Diffstat (limited to 'community-staging/miredo/PKGBUILD')
-rw-r--r-- | community-staging/miredo/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/community-staging/miredo/PKGBUILD b/community-staging/miredo/PKGBUILD new file mode 100644 index 000000000..9ae82e37d --- /dev/null +++ b/community-staging/miredo/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 72176 2012-06-09 17:04:19Z dreisner $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=miredo +pkgver=1.2.5 +pkgrel=2 +pkgdesc="Teredo client and server." +arch=('i686' 'x86_64') +url="http://www.remlab.net/miredo/" +license=('GPL') +depends=('judy' 'iproute2' 'libcap') +backup=('etc/miredo/miredo.conf' + 'etc/miredo/client-hook') +options=('!libtool') +source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.xz + isatapd.rc.d + miredo.install + miredo.rc.d + miredo-server.rc.d + miredo.service) +md5sums=('5114debbf9fcab5d292176e4548f8cd1' + '51ab6d091192605ee9206944869cb2ab' + 'd1b655d7a851cdb46c91c3418ed1962f' + 'c5a9be5c3175fecec387f1710bfd2788' + '319aba1ae06349b76cb25fda0dba60a9' + '3216d47d5aa979706b17b72d8b6e19b0') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-Judy + make + make DESTDIR="$pkgdir" install + + install -D -m755 $srcdir/miredo.rc.d $pkgdir/etc/rc.d/miredo + install -D -m755 $srcdir/miredo-server.rc.d $pkgdir/etc/rc.d/miredo-server + install -D -m755 $srcdir/isatapd.rc.d $pkgdir/etc/rc.d/isatapd + sed -i 's#/sbin/ip#/usr/sbin/ip#' $pkgdir/etc/miredo/client-hook + + # avoid conflict with filesystem>=2012.06 + rmdir "$pkgdir/var/run" "$pkgdir/var" + + install -Dm644 "$srcdir/miredo.service" "$pkgdir/usr/lib/systemd/system/miredo.service" +} |