wok-6.x annotate subversion/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-11)
parents e3a4df239f4e
children 94dd3813f40d
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="subversion"
Hans-G?nter@23677 4 VERSION="1.13.0"
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"
Hans-G?nter@23677 12 WGET_URL="https://www.apache.org/dist/$PACKAGE/$TARBALL"
erjo@1217 13
Hans-G?nter@21981 14 DEPENDS="apr-util libsqlite libsvn lz4-lib"
Hans-G?nter@23677 15 BUILD_DEPENDS="apache-dev apr-dev apr-util-dev expat-dev krb5-dev
Hans-G?nter@23677 16 lz4-dev mysql-dev neon-dev python-dev sqlite-dev util-linux-uuid-dev"
pankso@9759 17
pascal@24462 18 # What is the latest version available today?
pascal@24462 19 current_version()
pascal@24462 20 {
pascal@24462 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24462 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 23 }
pascal@24462 24
erjo@1217 25 # Rules to configure and make the package.
erjo@1217 26 compile_rules()
erjo@1217 27 {
Hans-G?nter@21981 28 ./configure \
Hans-G?nter@21981 29 --prefix=/usr \
Hans-G?nter@21981 30 --with-utf8proc=internal \
Hans-G?nter@21981 31 $CONFIGURE_ARGS &&
pascal@18437 32 sed -i 's/^INSTALL_APACHE_MODS =.*/INSTALL_APACHE_MODS = false/' Makefile &&
slaxemulator@8714 33 make -j1 &&
pankso@9772 34 make -j1 DESTDIR=$DESTDIR install
erjo@1217 35 }
erjo@1217 36
erjo@1217 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 38 genpkg_rules()
erjo@1217 39 {
erjo@1217 40 mkdir -p $fs/usr/lib
Hans-G?nter@23677 41 cp -a $install/usr/bin $fs/usr
erjo@1217 42 }