blob: 29a20012995f5a43f9fc030c3fe89f94d2af32ee (
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
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 56578 2011-10-09 01:59:34Z tdziedzic $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=radvd
pkgver=1.8.2
pkgrel=1
pkgdesc='IPv6 Router Advertisement / Router Solicitation daemon'
url='http://www.litech.org/radvd/'
license=('custom')
depends=('glibc')
arch=('i686' 'x86_64' 'mips64el')
install=radvd.install
source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" 'radvd.rc.d')
md5sums=('ac8a862d2b232d25ea2622274a2da8a4'
'65a585f5850a1ac2a0c2c2a7096ec92a')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make
}
package() {
cd ${pkgname}-${pkgver}
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
}
|