2008-04-10 15:34:07 +02:00
|
|
|
# Description: Perl bindings for subversion
|
|
|
|
# URL: http://subversion.tigris.org
|
2009-05-12 08:28:02 +00:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2008-04-10 15:34:07 +02:00
|
|
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
|
|
# Depends on: subversion swig
|
2007-06-27 00:46:28 +10:00
|
|
|
|
|
|
|
name=subversion-perl
|
2015-08-06 09:29:45 +02:00
|
|
|
version=1.9.0
|
2008-07-07 14:56:52 +02:00
|
|
|
release=1
|
2012-10-22 15:05:02 +02:00
|
|
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
2007-06-27 00:46:28 +10:00
|
|
|
|
|
|
|
build() {
|
2008-04-29 12:30:40 +02:00
|
|
|
P5VERSION="$(pkginfo -i | grep '^perl ' | cut -d' ' -f2 | cut -d'-' -f1)"
|
|
|
|
|
2008-04-10 15:34:07 +02:00
|
|
|
cd subversion-$version
|
2014-03-27 16:57:34 +01:00
|
|
|
|
|
|
|
# build multiple jobs compilation
|
|
|
|
sed 's|Makefile.PL.in$|& libsvn_swig_perl|' -i Makefile.in
|
|
|
|
|
2008-04-10 15:34:07 +02:00
|
|
|
LDFLAGS="-L$PKG/usr/lib" \
|
2014-03-27 16:57:34 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-mod-activation \
|
|
|
|
--with-apr=/usr \
|
|
|
|
--with-apr-util=/usr
|
|
|
|
|
2008-04-10 15:34:07 +02:00
|
|
|
make DESTDIR=$PKG install-swig-pl-lib install-swig-pl
|
2014-03-27 16:57:34 +01:00
|
|
|
|
2008-04-29 12:30:40 +02:00
|
|
|
rm -rf $PKG/usr/lib/perl5/$P5VERSION \
|
|
|
|
$PKG/usr/lib/perl5/site_perl/$P5VERSION/linux/auto/SVN/_Core/.packlist \
|
|
|
|
$(find $PKG -type f -size 0)
|
2007-06-27 00:46:28 +10:00
|
|
|
}
|