wok-next view subversion/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 1ff723a6455b
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="subversion"
4 VERSION="1.9.7"
5 CATEGORY="development"
6 SHORT_DESC="Subversion Source Code Management access"
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="http://subversion.apache.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/subversion.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.apache.org/dist/subversion/$TARBALL"
15 BUILD_DEPENDS="apr-dev apr-util-dev serf-dev cyrus-sasl-dev dbus-dev gettext \
16 libmagic-dev python-dev"
17 SPLIT="libsvn subversion subversion-dev"
19 compile_rules() {
20 ./configure \
21 --disable-static \
22 --with-apache-libexecdir \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make -j1 install || return 1
28 cook_pick_docs doc/*
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libsvn)
34 copy *.so*
35 CAT="libdevel|library"
36 DEPENDS="apr apr-util expat libmagic libsasl libsqlite3 serf zlib"
37 ;;
38 subversion)
39 copy @std @rm
40 DEPENDS="apr apr-util libsasl libsvn"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="libsvn subversion \
45 apr-dev apr-util-dev cyrus-sasl-dev expat-dev libmagic-dev \
46 serf-dev sqlite3-dev zlib-dev"
47 ;;
48 esac
49 }