wok-6.x view subversion/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 934055de50e2
children f606a1532612
line source
1 # SliTaz package receipt.
3 PACKAGE="subversion"
4 VERSION="1.13.0"
5 CATEGORY="development"
6 SHORT_DESC="Subversion Source Code Management access."
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://subversion.apache.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.apache.org/dist/$PACKAGE/$TARBALL"
14 DEPENDS="apr-util libsqlite libsvn lz4-lib"
15 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev expat-dev krb5-dev
16 lz4-dev mysql-dev neon-dev python-dev sqlite-dev util-linux-uuid-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --with-utf8proc=internal \
31 $CONFIGURE_ARGS &&
32 sed -i 's/^INSTALL_APACHE_MODS =.*/INSTALL_APACHE_MODS = false/' Makefile &&
33 make -j1 &&
34 make -j1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 }