mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

77 lines
2.5 KiB

# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/rene/subversion/subversion.conf
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if [ "$xpkg" = subversion-static ]
then
# this is the subversion-static package
svn_static_pm()
{
for prg in svnadmin/svnadmin svnlook/svnlook svnversion/svnversion \
svndumpfilter/svndumpfilter svndumpfilter/svndumpfilter \
clients/cmdline/svn
do
xprg=$(basename $prg)
cp -v subversion/$prg \
$root/$prefix/bin/$xprg-$arch_machine-static-$ver
ln -sfv $xprg-$arch-static-$ver \
$root/$prefix/bin/$xprg-$arch-static
done
}
createdocs=0
makeinstopt=""
var_append extraconfopt " " "--enable-all-static"
hook_add postmake 3 svn_static_pm
else
# use the apache prefix
. $base/package/*/apache/apache.conf
# all this is to build the apache server-side module
# and to make sure no locally included APR stuff get's installed
# as well as no modification to httpd.conf is done ...
if pkginstalled apache; then
var_append extraconfopt " " "--with-apxs=/$prefix/sbin/apxs \
--with-apr=/$prefix/bin/apr-config --with-apr-util=/$prefix \
--disable-mod-activation"
# --with-berkeley-db=/usr/include/db40:/usr/lib
fi
# use system wide neon
var_append extraconfopt " " "--with-neon=$root/usr"
# build and install perl bindings
svn_inst_pl() {
make swig-pl-lib
cd subversion/bindings/swig/perl
perl Makefile.PL; make all
make -C $OLDPWD install-swig-pl-lib
make install; cd $OLDPWD
}
hook_add postmake 3 "install_init svnserve $confdir/svnserve.init"
hook_add postmake 4 "cp -vrf tools $docdir"
# if swig is present build and install the perl
pkginstalled swig && hook_add postmake 5 "svn_inst_pl"
fi