2008-04-10 15:34:07 +02:00
|
|
|
# Description: Perl bindings for subversion
|
2018-12-23 07:14:34 -05:00
|
|
|
# URL: https://subversion.apache.org
|
2018-02-17 09:46:57 -05:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
|
|
# Depends on: subversion swig
|
2007-06-27 00:46:28 +10:00
|
|
|
|
|
|
|
name=subversion-perl
|
2019-08-30 10:26:36 -04:00
|
|
|
version=1.12.2
|
2008-07-07 14:56:52 +02:00
|
|
|
release=1
|
2019-08-01 16:58:36 -04:00
|
|
|
source=(https://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
2007-06-27 00:46:28 +10:00
|
|
|
|
|
|
|
build() {
|
2018-02-17 09:46:57 -05:00
|
|
|
cd subversion-$version
|
2014-03-27 16:57:34 +01:00
|
|
|
|
2018-02-17 09:46:57 -05:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-mod-activation \
|
2019-08-30 10:26:36 -04:00
|
|
|
--disable-nls \
|
|
|
|
--disable-static \
|
|
|
|
--with-lz4=internal \
|
|
|
|
--with-utf8proc=internal
|
2014-03-27 16:57:34 +01:00
|
|
|
|
2018-02-17 09:46:57 -05:00
|
|
|
make swig-pl-lib
|
|
|
|
(cd subversion/bindings/swig/perl/native; perl Makefile.PL)
|
|
|
|
sed -i 's,LD_RUN_PATH="$(LD_RUN_PATH)" ,,' \
|
|
|
|
subversion/bindings/swig/perl/native/Makefile{,.client,.delta,.fs} \
|
|
|
|
subversion/bindings/swig/perl/native/Makefile{.ra,.repos,.wc}
|
|
|
|
touch subversion/bindings/swig/perl/native/Makefile*
|
|
|
|
make -j1 -C subversion/bindings/swig/perl/native
|
2014-03-27 16:57:34 +01:00
|
|
|
|
2018-02-17 09:46:57 -05:00
|
|
|
make DESTDIR=$PKG install-swig-pl-lib
|
|
|
|
make -C subversion/bindings/swig/perl/native DESTDIR=$PKG install
|
2014-03-27 16:57:34 +01:00
|
|
|
|
2018-02-17 09:46:57 -05:00
|
|
|
rm -rf $PKG/"$(eval $(perl -V:privlib) && echo $privlib)"
|
|
|
|
find $PKG \( -empty -o -name '.packlist' \) -delete
|
2007-06-27 00:46:28 +10:00
|
|
|
}
|