wok annotate subversion/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents f606a1532612
children
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="subversion"
Hans-G?nter@25333 4 VERSION="1.14.2"
pascal@1423 5 CATEGORY="development"
Hans-G?nter@21981 6 SHORT_DESC="Subversion Source Code Management access."
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pascal@15482 8 LICENSE="Apache"
Hans-G?nter@21981 9 WEB_SITE="https://subversion.apache.org"
Hans-G?nter@21981 10
slaxemulator@7371 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25534 12 WGET_URL="https://archive.apache.org/dist/$PACKAGE/$TARBALL"
erjo@1217 13
Hans-G?nter@25333 14 SUGGESTED="subversion-lang"
Hans-G?nter@21981 15 DEPENDS="apr-util libsqlite libsvn lz4-lib"
Hans-G?nter@23677 16 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev expat-dev krb5-dev
Hans-G?nter@23677 17 lz4-dev mysql-dev neon-dev python-dev sqlite-dev util-linux-uuid-dev"
pankso@9759 18
pascal@24462 19 # What is the latest version available today?
pascal@24462 20 current_version()
pascal@24462 21 {
pascal@24462 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 24 }
pascal@24462 25
erjo@1217 26 # Rules to configure and make the package.
erjo@1217 27 compile_rules()
erjo@1217 28 {
Hans-G?nter@21981 29 ./configure \
Hans-G?nter@21981 30 --prefix=/usr \
Hans-G?nter@21981 31 --with-utf8proc=internal \
Hans-G?nter@21981 32 $CONFIGURE_ARGS &&
pascal@18437 33 sed -i 's/^INSTALL_APACHE_MODS =.*/INSTALL_APACHE_MODS = false/' Makefile &&
Hans-G?nter@25333 34 make &&
Hans-G?nter@25333 35 make install DESTDIR=$DESTDIR
erjo@1217 36 }
erjo@1217 37
erjo@1217 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 39 genpkg_rules()
erjo@1217 40 {
Hans-G?nter@25333 41 cook_copy_folders bin
erjo@1217 42 }