Added subversion-1.6.15 build template.

This commit is contained in:
Juan RP 2011-01-14 17:27:50 +01:00
parent 6767eadaa2
commit dc9a34b45e
18 changed files with 283 additions and 0 deletions

1
srcpkgs/libsvn Symbolic link
View File

@ -0,0 +1 @@
subversion

1
srcpkgs/subversion-apache Symbolic link
View File

@ -0,0 +1 @@
subversion

1
srcpkgs/subversion-devel Symbolic link
View File

@ -0,0 +1 @@
subversion

View File

@ -0,0 +1 @@
subversion

1
srcpkgs/subversion-perl Symbolic link
View File

@ -0,0 +1 @@
subversion

1
srcpkgs/subversion-python Symbolic link
View File

@ -0,0 +1 @@
subversion

1
srcpkgs/subversion-ruby Symbolic link
View File

@ -0,0 +1 @@
subversion

View File

@ -0,0 +1,2 @@
abi_depends=">=0.29.5"
api_depends="${abi_depends}"

View File

@ -0,0 +1,25 @@
# Template file for 'libsvn'.
#
short_desc="${short_desc} - shared libraries"
long_desc="${long_desc}
This package contains the shared libraries used by subversion."
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run zlib
Add_dependency run sqlite
Add_dependency run gdbm
Add_dependency run expat
Add_dependency run libdb
Add_dependency run libsasl
Add_dependency run libldap
Add_dependency run apr-util
Add_dependency run apr
Add_dependency run neon
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib ${DESTDIR}/usr
}

View File

@ -0,0 +1,10 @@
--- Makefile.in.orig 2009-02-16 14:10:48.000000000 -0200
+++ Makefile.in 2009-06-04 00:56:29.000000000 -0300
@@ -678,6 +678,7 @@
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+ cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}}
swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \
$(SWIG_PL_DIR)/native/Makefile

View File

@ -0,0 +1,16 @@
# Template file for 'subversion-apache'.
#
short_desc="${short_desc} - apache httpd modules"
long_desc="${long_desc}
This package contains two modules for the HTTP apache daemon for use
with subversion."
Add_dependency run glibc
Add_dependency run libsvn ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/libexec ${DESTDIR}/usr
}

View File

@ -0,0 +1,34 @@
# Template file for 'subversion-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run perl
Add_dependency run ruby-devel
Add_dependency run python-devel
Add_dependency run swig
Add_dependency run apr-util-devel
Add_dependency run libldap-devel
Add_dependency run db-devel
Add_dependency run gdbm-devel
Add_dependency run expat-devel
Add_dependency run apr-devel
Add_dependency run libuuid-devel
Add_dependency run zlib-devel
Add_dependency run sqlite-devel
Add_dependency run libsasl-devel
Add_dependency run dbus-devel
Add_dependency run libgnome-keyring-devel
Add_dependency run glib-devel
Add_dependency run neon-devel
Add_dependency run libsvn
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,22 @@
# Template file for 'subversion-gnome-keyring-auth'.
#
short_desc="subversion - gnome-keyring authentication support"
long_desc="${long_desc}
This package contains files for subversion to authenticate with
the libgnome-keyring package."
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run glib
Add_dependency run dbus-libs
Add_dependency run apr
Add_dependency run libgnome-keyring
Add_dependency run libsvn ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*gnome_keyring*.so* \
${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,25 @@
# Template file for 'subversion-perl'.
#
short_desc="${short_desc} - perl bindings"
long_desc="${long_desc}
This package contains the perl language bindings for subversion."
Add_dependency run glibc
Add_dependency run perl
Add_dependency run libuuid
Add_dependency run expat
Add_dependency run libldap
Add_dependency run libdb
Add_dependency run gdbm
Add_dependency run apr-util
Add_dependency run apr
Add_dependency run libsvn ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_perl-1.so* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/perl5 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}

View File

@ -0,0 +1,25 @@
# Template file for 'subversion-python'.
#
short_desc="${short_desc} - python bindings"
long_desc="${long_desc}
This package contains the Python language bindings for subversion."
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run libldap
Add_dependency run libdb
Add_dependency run gdbm
Add_dependency run expat
Add_dependency run python
Add_dependency run apr-util
Add_dependency run apr
Add_dependency run libsvn ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/python2.7
mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_py-1.so* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/svn-python/ \
${DESTDIR}/usr/lib/python2.7/site-packages
}

View File

@ -0,0 +1,24 @@
# Template file for 'subversion-ruby'.
#
short_desc="${short_desc} - ruby bindings"
long_desc="${long_desc}
This package contains the ruby language bindings for subversion."
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run ruby
Add_dependency run gdbm
Add_dependency run expat
Add_dependency run libdb
Add_dependency run libldap
Add_dependency run apr-util
Add_dependency run apr
Add_dependency run libsvn ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libsvn_swig_ruby-1.so* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/ruby ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,75 @@
# Template file for 'subversion'
pkgname=subversion
version=1.6.15
distfiles="http://subversion.tigris.org/downloads/$pkgname-$version.tar.bz2"
build_style=custom-install
short_desc="Enterprise-class centralized version control for the masses"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b2919d603a5f3c19f42e3265c4b930e2376c43b3969b90ef9c42b2f72d5aaa45
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."
# XXX enable kwallet when kdelibs is available.
subpackages="$pkgname-python $pkgname-perl $pkgname-ruby"
subpackages="${subpackages} $pkgname-gnome-keyring-auth $pkgname-devel"
subpackages="${subpackages} $pkgname-apache libsvn"
Add_dependency run glibc
Add_dependency run libsasl
Add_dependency run apr
Add_dependency run libsvn ">=${version}"
Add_dependency build pkg-config
Add_dependency build perl
Add_dependency build ruby-devel
Add_dependency build python-devel
Add_dependency build swig
Add_dependency build apr-util-devel
Add_dependency build libldap-devel
Add_dependency build db-devel
Add_dependency build gdbm-devel
Add_dependency build expat-devel
Add_dependency build apr-devel
Add_dependency build libuuid-devel
Add_dependency build zlib-devel
Add_dependency build sqlite-devel
Add_dependency build libsasl-devel
Add_dependency build dbus-devel
Add_dependency build libgnome-keyring-devel
Add_dependency build glib-devel
Add_dependency build neon-devel
do_build()
{
./configure --prefix=/usr --with-apxs --disable-javahl \
--without-kwallet --with-gnome-keyring --with-editor=vim \
--disable-mod-activation
(make ${makejobs} external-all && \
make ${makejobs} LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all)
}
do_install()
{
export LD_LIBRARY_PATH=${DESTDIR}/usr/lib:$LD_LIBRARY_PATH
make DESTDIR=${DESTDIR} install
make DESTDIR=${DESTDIR} swig-py
make DESTDIR=${DESTDIR} install-swig-py
make DESTDIR=${DESTDIR} swig-pl
make DESTDIR=${DESTDIR} INSTALLDIRS=vendor install-swig-pl
make DESTDIR=${DESTDIR} swig-rb
make DESTDIR=${DESTDIR} install-swig-rb
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
}

View File

@ -736,3 +736,21 @@ VBoxKeyboard.so virtualbox-ose
VBoxOGLrenderspu.so virtualbox-ose
VBoxOGLcrutil.so virtualbox-ose-guest
libfetch.so libfetch libfetch-devel
libneon.so.27 neon neon-devel
libsvn_subr-1.so libsvn subversion-devel
libsvn_diff-1.so libsvn subversion-devel
libsvn_client-1.so libsvn subversion-devel
libsvn_delta-1.so libsvn subversion-devel
libsvn_fs-1.so libsvn subversion-devel
libsvn_ra-1.so libsvn subversion-devel
libsvn_repos-1.so libsvn subversion-devel
libsvn_wc-1.so libsvn subversion-devel
libsvn_fs_util-1.so libsvn subversion-devel
libsvn_ra_svn-1.so libsvn subversion-devel
libsvn_fs_fs-1.so libsvn subversion-devel
libsvn_fs_base-1.so libsvn subversion-devel
libsvn_ra_local-1.so libsvn subversion-devel
libsvn_ra_neon-1.so libsvn subversion-devel
libsvn_swig_py-1.so subversion-python subversion-devel
libsvn_swig_perl-1.so subversion-perl subversion-devel
libsvn_swig_ruby-1.so subversion-ruby subversion-devel