2011-01-14 16:27:50 +00:00
|
|
|
# Template file for 'subversion'
|
|
|
|
pkgname=subversion
|
2012-05-18 05:58:47 +00:00
|
|
|
version=1.7.5
|
2012-05-27 10:28:21 +00:00
|
|
|
revision=1
|
2011-10-05 16:16:32 +00:00
|
|
|
homepage="http://subversion.apache.org/"
|
2012-05-27 10:28:21 +00:00
|
|
|
subpackages="$pkgname-python $pkgname-perl $pkgname-gnome-keyring-auth $pkgname-devel libsvn"
|
|
|
|
# XXX enable kwallet when kdelibs is available.
|
|
|
|
makedepends="pkg-config perl>=5.16 python-devel swig apr-util-devel libldap-devel db-devel gdbm-devel expat-devel apr-devel libuuid-devel sqlite-devel libsasl-devel dbus-devel libgnome-keyring-devel glib-devel neon-devel apache-devel"
|
2011-01-14 16:27:50 +00:00
|
|
|
short_desc="Enterprise-class centralized version control for the masses"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-05 16:16:32 +00:00
|
|
|
license="Apache-2.0, BSD"
|
2012-05-27 10:28:21 +00:00
|
|
|
distfiles="http://apache.mirror.rafal.ca/subversion/${pkgname}-${version}.tar.bz2"
|
2012-05-18 05:58:47 +00:00
|
|
|
checksum=cb23ccd08b0c1f0c66fdcda773265e404d95f378493ba64b49dbaaf54ae44aec
|
2011-01-14 16:27:50 +00:00
|
|
|
long_desc="
|
|
|
|
Apache Subversion is a full-featured version control system originally
|
|
|
|
designed to be a better CVS. Subversion has since expanded beyond its
|
|
|
|
original goal of replacing CVS, but its basic model, design, and interface
|
|
|
|
remain heavily influenced by that goal. Even today, Subversion should still
|
|
|
|
feel very familiar to CVS users."
|
|
|
|
|
2012-05-18 05:58:47 +00:00
|
|
|
do_configure() {
|
2011-01-14 16:27:50 +00:00
|
|
|
./configure --prefix=/usr --with-apxs --disable-javahl \
|
|
|
|
--without-kwallet --with-gnome-keyring --with-editor=vim \
|
|
|
|
--disable-mod-activation
|
2012-05-18 05:58:47 +00:00
|
|
|
}
|
2011-01-14 16:27:50 +00:00
|
|
|
|
2012-05-18 05:58:47 +00:00
|
|
|
do_build() {
|
|
|
|
make ${makejobs} external-all
|
|
|
|
make ${makejobs} LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all
|
|
|
|
make ${makejobs} \
|
|
|
|
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
|
|
|
|
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
|
|
|
|
swig-py swig-pl
|
2011-01-14 16:27:50 +00:00
|
|
|
}
|
|
|
|
|
2012-05-18 05:58:47 +00:00
|
|
|
do_install() {
|
2011-01-14 16:27:50 +00:00
|
|
|
export LD_LIBRARY_PATH=${DESTDIR}/usr/lib:$LD_LIBRARY_PATH
|
|
|
|
|
2012-05-18 05:58:47 +00:00
|
|
|
make DESTDIR=${DESTDIR} INSTALLDIRS=vendor \
|
|
|
|
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
|
|
|
|
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
|
|
|
|
install install-swig-py install-swig-pl
|
2011-01-14 16:27:50 +00:00
|
|
|
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/perl5/core_perl
|
|
|
|
install -d ${DESTDIR}/usr/share/subversion
|
|
|
|
install -d -m755 tools/hook-scripts ${DESTDIR}/usr/share/subversion/
|
|
|
|
rm -f ${DESTDIR}/usr/share/subversion/hook-scripts/*.in
|
|
|
|
|
|
|
|
install -D -m644 tools/client-side/bash_completion \
|
|
|
|
${DESTDIR}/etc/bash_completion.d/subversion
|
|
|
|
}
|