blob: e28ed573df76aad72b396f8aca376ec71d1ad698 (
plain)
1 # Description: Perl bindings for subversion
2 # URL: http://subversion.tigris.org
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Johannes Winkelmann, jw at tks6 dot net
5 # Depends on: subversion swig
6
7 name=subversion-perl
8 version=1.6.3
9 release=1
10 source=(http://subversion.tigris.org/tarballs/subversion-$version.tar.bz2)
11
12 build() {
13 P5VERSION="$(pkginfo -i | grep '^perl ' | cut -d' ' -f2 | cut -d'-' -f1)"
14
15 cd subversion-$version
16
17 LDFLAGS="-L$PKG/usr/lib" \
18 ./configure --prefix=/usr \
19 --disable-nls \
20 --with-neon=/usr \
21 --disable-mod-activation \
22 --with-apr=/usr \
23 --with-apr-util=/usr
24
25 make DESTDIR=$PKG install-swig-pl-lib install-swig-pl
26
27 rm -rf $PKG/usr/lib/perl5/$P5VERSION \
28 $PKG/usr/lib/perl5/site_perl/$P5VERSION/linux/auto/SVN/_Core/.packlist \
29 $(find $PKG -type f -size 0)
30 }
|