wok-current view subversion/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | f606a1532612 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="subversion"
4 VERSION="1.14.2"
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 SUGGESTED="subversion-lang"
15 DEPENDS="apr-util libsqlite libsvn lz4-lib"
16 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev expat-dev krb5-dev
17 lz4-dev mysql-dev neon-dev python-dev sqlite-dev util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --with-utf8proc=internal \
32 $CONFIGURE_ARGS &&
33 sed -i 's/^INSTALL_APACHE_MODS =.*/INSTALL_APACHE_MODS = false/' Makefile &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }