wok-next annotate 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 |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="subversion" |
al@19957 | 4 VERSION="1.9.7" |
pascal@1423 | 5 CATEGORY="development" |
erjo@1217 | 6 SHORT_DESC="Subversion Source Code Management access" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@15482 | 8 LICENSE="Apache" |
al@19957 | 9 WEB_SITE="http://subversion.apache.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/subversion.html" |
al@19957 | 11 |
slaxemulator@7371 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19957 | 13 WGET_URL="https://archive.apache.org/dist/subversion/$TARBALL" |
erjo@1217 | 14 |
al@20357 | 15 BUILD_DEPENDS="apr-dev apr-util-dev serf-dev cyrus-sasl-dev dbus-dev gettext \ |
al@19957 | 16 libmagic-dev python-dev" |
al@19957 | 17 SPLIT="libsvn subversion subversion-dev" |
pankso@9759 | 18 |
al@19957 | 19 compile_rules() { |
al@19957 | 20 ./configure \ |
al@19957 | 21 --disable-static \ |
al@19957 | 22 --with-apache-libexecdir \ |
al@19957 | 23 $CONFIGURE_ARGS && |
al@20604 | 24 fix libtool && |
al@19957 | 25 make && |
al@20647 | 26 make -j1 install || return 1 |
al@19957 | 27 |
al@19957 | 28 cook_pick_docs doc/* |
erjo@1217 | 29 } |
erjo@1217 | 30 |
al@19957 | 31 genpkg_rules() { |
al@19957 | 32 case $PACKAGE in |
al@19957 | 33 libsvn) |
al@19957 | 34 copy *.so* |
al@20357 | 35 CAT="libdevel|library" |
al@20647 | 36 DEPENDS="apr apr-util expat libmagic libsasl libsqlite3 serf zlib" |
al@19957 | 37 ;; |
al@19957 | 38 subversion) |
al@20357 | 39 copy @std @rm |
al@20647 | 40 DEPENDS="apr apr-util libsasl libsvn" |
al@19957 | 41 ;; |
al@19957 | 42 *-dev) |
al@19957 | 43 copy @dev |
al@20647 | 44 DEPENDS="libsvn subversion \ |
al@20647 | 45 apr-dev apr-util-dev cyrus-sasl-dev expat-dev libmagic-dev \ |
al@20647 | 46 serf-dev sqlite3-dev zlib-dev" |
al@19957 | 47 ;; |
al@19957 | 48 esac |
erjo@1217 | 49 } |
al@20443 | 50 |