From 56b55ecae08d63209e1a1382e0b15bbe9426762b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 23 Mar 2004 13:44:50 +0000 Subject: [PATCH] Clifford Wolf: Added code for building SVN perl modules [2004031716454103440] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2602 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/rene/subversion/subversion.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/rene/subversion/subversion.conf b/package/rene/subversion/subversion.conf index a170e6d1c..35846ff45 100644 --- a/package/rene/subversion/subversion.conf +++ b/package/rene/subversion/subversion.conf @@ -36,6 +36,16 @@ 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" +hook_add postmake 5 "svn_inst_pl"