summaryrefslogtreecommitdiff
path: root/community/radvd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/radvd/PKGBUILD')
-rw-r--r--community/radvd/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD
new file mode 100644
index 000000000..32a668db6
--- /dev/null
+++ b/community/radvd/PKGBUILD
@@ -0,0 +1,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
+}