]>
Commit | Line | Data |
---|---|---|
badfa52e | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
badfa52e MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = bird |
7 | version = 1.3.1 | |
8 | release = 1 | |
badfa52e | 9 | |
802ea3af MT |
10 | groups = Networking/Routing |
11 | url = http://bird.network.cz/ | |
12 | license = GPLv2+ | |
13 | summary = BIRD Internet Routing Daemon. | |
badfa52e | 14 | |
802ea3af | 15 | description |
badfa52e MT |
16 | BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing |
17 | protocols BGP, RIP and OSPF. | |
802ea3af MT |
18 | end |
19 | ||
20 | source_dl = ftp://bird.network.cz/pub/bird/ | |
21 | ||
22 | build | |
23 | requires | |
24 | bison | |
25 | flex | |
26 | ncurses-devel | |
27 | readline-devel | |
28 | end | |
29 | ||
30 | configure_options += \ | |
31 | --sysconfdir=/etc \ | |
32 | --localstatedir=/var | |
33 | ||
34 | prepare_cmds | |
35 | mkdir -pv %{DIR_APP}/ipv6 | |
36 | tar c --exclude ipv6 . | tar x -C ipv6 | |
37 | end | |
38 | ||
39 | build | |
40 | ./configure %{configure_options} | |
41 | make %{PARALLELISMFLAGS} | |
42 | ||
43 | cd ipv6 | |
44 | ./configure %{configure_options} --enable-ipv6 | |
45 | make %{PARALLELISMFLAGS} | |
46 | end | |
47 | ||
48 | install | |
49 | make install DESTDIR=%{BUILDROOT} | |
50 | ||
51 | cd ipv6 | |
52 | make install DESTDIR=%{BUILDROOT} | |
53 | ||
54 | rm -rfv %{BUILDROOT}/var | |
55 | end | |
56 | end | |
57 | ||
58 | packages | |
59 | package %{name} | |
60 | end | |
61 | end |