Browse Source

Benjamin Schieder:


			
			
				rocklinux
			
			
		
Benjamin Schieder 19 years ago
parent
commit
55ffa4c870
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      package/base/subversion/subversion.conf

+ 13
- 0
package/base/subversion/subversion.conf

@ -22,6 +22,7 @@
# use system wide neon
pkginstalled neon && var_append extraconfopt " " "--with-neon=$root/usr"
pkginstalled sun-jdk14 && var_append extraconfopt " " "--enable-javahl --with-jdk=/opt/j2sdk1.4.2_09/"
if [ "$xpkg" = subversion-static ]
then
@ -74,6 +75,12 @@ else
make swig-py
make install-swig-py
}
# build and install java bindings
svn_inst_java() {
make javahl
make install-javahl
}
# install etc/profile.d/subversion
svn_inst_profile() {
@ -88,6 +95,8 @@ EOF
# if swig is present build and install the perl and python bindings
pkginstalled swig && [ -n "$( type -p perl )" ] && hook_add postmake 5 "svn_inst_pl"
pkginstalled swig && [ -n "$( type -p python )" ] && hook_add postmake 5 "svn_inst_py"
# if java is present, install java bindings
pkginstalled sun-jdk14 && hook_add postmake 5 "svn_inst_java"
hook_add postmake 5 "svn_inst_profile"
@ -100,7 +109,11 @@ EOF
splitdesc_server() {
desc_I="$desc_I (server binaries)"
}
splitdesc_java() {
desc_I="$desc_I (java bindings)"
}
splitreg 51 server /svn[^.]\+[^th]$
splitreg 52 server rc\.d
splitreg 53 java java
fi

Loading…
Cancel
Save