forked from ports/contrib
33 lines
957 B
Plaintext
33 lines
957 B
Plaintext
# Description: Perl bindings for subversion
|
|
# URL: http://subversion.tigris.org
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
# Depends on: subversion swig
|
|
|
|
name=subversion-perl
|
|
version=1.8.10
|
|
release=1
|
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
|
|
|
build() {
|
|
P5VERSION="$(pkginfo -i | grep '^perl ' | cut -d' ' -f2 | cut -d'-' -f1)"
|
|
|
|
cd subversion-$version
|
|
|
|
# build multiple jobs compilation
|
|
sed 's|Makefile.PL.in$|& libsvn_swig_perl|' -i Makefile.in
|
|
|
|
LDFLAGS="-L$PKG/usr/lib" \
|
|
./configure --prefix=/usr \
|
|
--disable-nls \
|
|
--disable-mod-activation \
|
|
--with-apr=/usr \
|
|
--with-apr-util=/usr
|
|
|
|
make DESTDIR=$PKG install-swig-pl-lib install-swig-pl
|
|
|
|
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)
|
|
}
|