]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = subversion | |
7 | version = 1.8.13 | |
8 | release = 1 | |
9 | ||
10 | groups = Development/Tools | |
11 | url = http://subversion.apache.org/ | |
12 | license = ASL 2.0 | |
13 | summary = A Modern Concurrent Version Control System. | |
14 | ||
15 | description | |
16 | Subversion is a concurrent version control system which enables one | |
17 | or more users to collaborate in developing and maintaining a | |
18 | hierarchy of files and directories while keeping a history of all | |
19 | changes. Subversion only stores the differences between versions, | |
20 | instead of every complete file. Subversion is intended to be a | |
21 | compelling replacement for CVS. | |
22 | end | |
23 | ||
24 | source_dl = http://www.apache.org/dist/subversion/ | |
25 | ||
26 | build | |
27 | requires | |
28 | perl(ExtUtils::MakeMaker) | |
29 | perl(ExtUtils::Embed) | |
30 | perl-Carp | |
31 | autoconf | |
32 | apr-util-devel | |
33 | automake | |
34 | expat-devel | |
35 | libapr-devel | |
36 | libdb-devel | |
37 | perl-devel | |
38 | sqlite-devel | |
39 | swig | |
40 | zlib-devel | |
41 | end | |
42 | ||
43 | configure_options += \ | |
44 | --sbindir=/sbin \ | |
45 | --disable-mod-activation \ | |
46 | --disable-static \ | |
47 | --with-berkeley-db | |
48 | ||
49 | prepare_cmds | |
50 | ./autogen.sh --release | |
51 | ||
52 | # Fix shebang lines. | |
53 | perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in | |
54 | end | |
55 | ||
56 | install_cmds | |
57 | # Build / Install perl bindings. | |
58 | make swig-pl-lib %{PARALLELISMFLAGS} | |
59 | make install-swig-pl-lib DESTDIR=%{BUILDROOT} | |
60 | ||
61 | cd subversion/bindings/swig/perl/native | |
62 | ||
63 | # Doesn't allow OPTIMIZE="%{CFLAGS}". | |
64 | perl Makefile.PL INSTALLDIRS=vendor | |
65 | make %{PARALLELISMFLAGS} | |
66 | make pure_install PERL_INSTALL_ROOT=%{BUILDROOT} | |
67 | end | |
68 | end | |
69 | ||
70 | packages | |
71 | package %{name} | |
72 | ||
73 | package perl-%{name} | |
74 | summary = Perl bindings to the Subversion libraries. | |
75 | description | |
76 | This package includes the Perl bindings to | |
77 | the Subversion libraries. | |
78 | end | |
79 | ||
80 | files | |
81 | /usr/lib/libsvn_swig_perl-1.so.* | |
82 | /usr/lib/perl*/ | |
83 | end | |
84 | end | |
85 | ||
86 | package %{name}-libs | |
87 | template LIBS | |
88 | end | |
89 | ||
90 | package %{name}-devel | |
91 | template DEVEL | |
92 | end | |
93 | ||
94 | package %{name}-debuginfo | |
95 | template DEBUGINFO | |
96 | end | |
97 | end |