Merge pull request #1451 from hanspolo/bird-new
New package: bird[6]?-1.5.0
This commit is contained in:
commit
e2879ec515
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec bird -f ${OPTS:=-c /etc/bird.conf}
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec bird6 -f ${OPTS:=-c /etc/bird6.conf}
|
|
@ -0,0 +1,49 @@
|
||||||
|
# Template file for 'bird'
|
||||||
|
|
||||||
|
pkgname=bird
|
||||||
|
version=1.5.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
short_desc="The BIRD Internet Routing Daemon"
|
||||||
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://bird.network.cz"
|
||||||
|
distfiles="ftp://bird.network.cz/pub/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
hostmakedepends="flex"
|
||||||
|
makedepends="ncurses-devel readline-devel"
|
||||||
|
configure_args="--sbindir=/usr/bin"
|
||||||
|
conf_files="/etc/bird.conf /etc/bird6.conf"
|
||||||
|
checksum=79d5c4254e25f5890626830ca42aae03735716bdf152ddd8368473d2b3c17b5d
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
mkdir -p /tmp/bird6
|
||||||
|
cp -a $wrksrc/* /tmp/bird6
|
||||||
|
mv /tmp/bird6 $wrksrc/bird6
|
||||||
|
}
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
# bird
|
||||||
|
./configure ${configure_args}
|
||||||
|
|
||||||
|
# bird6
|
||||||
|
cd bird6
|
||||||
|
./configure ${configure_args} --enable-ipv6
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
# bird
|
||||||
|
make ${makejobs}
|
||||||
|
|
||||||
|
# bird6
|
||||||
|
cd bird6
|
||||||
|
make ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make DESTDIR=$DESTDIR install
|
||||||
|
vsv bird
|
||||||
|
|
||||||
|
cd bird6
|
||||||
|
make DESTDIR=$PKGDESTDIR install
|
||||||
|
vsv bird6
|
||||||
|
}
|
Loading…
Reference in New Issue