]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - subversion/subversion.nm
tmux: New package.
[people/ms/ipfire-3.x.git] / subversion / subversion.nm
CommitLineData
34455806
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = subversion
7version = 1.7.2
8release = 1
9
10groups = Development/Tools
11url = http://subversion.apache.org/
12license = ASL 2.0
13summary = A Modern Concurrent Version Control System.
14
15description
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.
22end
23
24source_dl = http://www.apache.org/dist/subversion/
25
26build
27 requires
28 perl(ExtUtils::MakeMaker)
29 perl(ExtUtils::Embed)
30 perl-Carp
31 autoconf
32 apr-util-devel
33 automake
34 db4-devel
35 expat-devel
36 libapr-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.
1429c856 58 make swig-pl-lib %{PARALLELISMFLAGS}
34455806
SS
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
1429c856 65 make %{PARALLELISMFLAGS}
34455806
SS
66 make pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
67 end
68end
69
70packages
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
97end