Magellan Linux

Contents of /smage/branches/alx08x-unstable/core/subversion/subversion-1.14.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16456 - (show annotations) (download)
Mon Oct 2 13:42:39 2023 UTC (8 months, 2 weeks ago) by niro
File size: 1997 byte(s)
-release branches/alx08x-unstable
1 # $Id$
2
3 PNAME="subversion"
4 PVER="1.14.0"
5 PBUILD="r1"
6
7 PCAT="dev-util"
8
9 DESCRIPTION="subversion - a version control system meant to replace cvs."
10 HOMEPAGE="http://subversion.apache.org/"
11
12 DEPEND=">= virtual/glibc
13 >= dev-libs/expat-2
14 >= dev-libs/libxml2-2.11
15 >= dev-libs/openssl-3.1
16 >= app-arch/lz4-1.9
17 >= sys-libs/zlib-1.2.13
18 >= sys-apps/file-5.44
19 >= dev-libs/apr-util-1.6
20 >= dev-db/db-6.2
21 >= dev-db/sqlite-3.42"
22
23 SDEPEND=">= dev-libs/expat-dev-2
24 >= dev-libs/libxml2-dev-2.11
25 >= dev-libs/openssl-dev-3.1
26 >= app-arch/lz4-dev-1.9
27 >= sys-libs/zlib-dev-1.2.13
28 >= sys-apps/file-dev-5.44
29 >= dev-db/db-dev-6.2
30 >= dev-db/sqlite-dev-3.42"
31
32 SRCFILE="${PNAME}-${PVER}.tar.bz2"
33 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
34
35 sminclude cleanutils
36
37 SRC_URI=(
38 http://apache.org/dist/${PNAME}/${SRCFILE}
39 http://archive.apache.org/dist/${PNAME}/${SRCFILE}
40 mirror://${PNAME}/${SRCFILE}
41 )
42
43 UP2DATE="updatecmd 'http://apache.org/dist/subversion/?C=N;O=A' | highesttarball"
44
45 src_prepare()
46 {
47 munpack ${SRCFILE} || die
48 cd ${SRCDIR}
49
50 # fix libtool issues
51 mlibtoolize || die
52
53 # run autogen instead of mautoreconf to copy newer libtool macros
54 sh autogen.sh || die
55 }
56
57 src_compile()
58 {
59 cd ${SRCDIR}
60 local myconf
61
62 # use internal libutf8proc for now
63 myconf+=" --with-utf8proc=internal"
64
65 # alx: no sasl
66 myconf+=" --without-sasl"
67
68 mconfigure \
69 --with-apr=/usr/bin/apr-1-config \
70 --with-apr-util=/usr/bin/apu-1-config \
71 --with-berkeley-db \
72 --enable-bdb6 \
73 --enable-nls \
74 --with-swig \
75 --without-apxs \
76 --disable-mod-activation \
77 --disable-static \
78 --without-gnome-keyring \
79 --without-kwallet \
80 --disable-experimental-libtool \
81 ${myconf} \
82 || die
83
84 make LT_LDFLAGS="-L${BINDIR}/usr/$(mlibdir)" local-all || die
85 }
86
87 src_install()
88 {
89 cd ${SRCDIR}
90 mmake -j1 DESTDIR=${BINDIR} install || die
91
92 # only keep the subversion client
93 # no server, dev-so-libs, headers and docs
94 zapmost ${BINDIR} \
95 usr/bin/svn \
96 usr/$(mlibdir)/libsvn_*.so.* \
97 usr/share/man/man1/svn.1* \
98 || die
99 }