mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# $Id: PKGBUILD 1530 2009-08-25 12:23:20Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=miredo
|
|
pkgver=1.1.7
|
|
pkgrel=1
|
|
pkgdesc="Teredo client and server."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.remlab.net/miredo/"
|
|
license=('GPL')
|
|
depends=(judy iproute2)
|
|
backup=('etc/miredo/miredo.conf' 'etc/miredo/miredo-server.conf' 'etc/miredo/isatapd.conf')
|
|
source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2
|
|
isatapd.rc.d
|
|
miredo.install
|
|
miredo.rc.d
|
|
miredo-server.rc.d)
|
|
md5sums=('4fb5e7df6a6255528e4c5380401ad3ea'
|
|
'51ab6d091192605ee9206944869cb2ab'
|
|
'd1b655d7a851cdb46c91c3418ed1962f'
|
|
'c5a9be5c3175fecec387f1710bfd2788'
|
|
'319aba1ae06349b76cb25fda0dba60a9')
|
|
|
|
build() {
|
|
cd "$startdir/src/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-Judy
|
|
make || return 1
|
|
make DESTDIR="$startdir/pkg" install || return 1
|
|
|
|
install -D -m755 $startdir/miredo.rc.d $startdir/pkg/etc/rc.d/miredo && \
|
|
install -D -m755 $startdir/miredo-server.rc.d $startdir/pkg/etc/rc.d/miredo-server && \
|
|
install -D -m755 $startdir/isatapd.rc.d $startdir/pkg/etc/rc.d/isatapd && \
|
|
sed -i 's#/sbin/ip#/usr/sbin/ip#' $pkgdir/etc/miredo/client-hook
|
|
}
|