blob: 32a668db6f195ca3254e5c43aa1825adb710119b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 38596 2011-01-28 17:42:11Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=radvd
pkgver=1.7
pkgrel=1
pkgdesc='IPv6 Router Advertisement / Router Solicitation daemon'
url='http://www.litech.org/radvd/'
license=('custom')
depends=('glibc')
arch=('i686' 'x86_64')
install=radvd.install
source=("${url}dist/$pkgname-$pkgver.tar.gz" 'radvd.rc.d')
md5sums=('5ec417bde33964a07231ddf6353177c8'
'65a585f5850a1ac2a0c2c2a7096ec92a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make; make DESTDIR=$pkgdir install
install -Dm644 radvd.conf.example \
$pkgdir/usr/share/doc/radvd/radvd.conf.example
install -Dm644 COPYRIGHT \
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
install -Dm755 $srcdir/radvd.rc.d $pkgdir/etc/rc.d/radvd
}
|