wok annotate fossil/receipt @ rev 25177

Update some web_site & wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 02 13:44:10 2022 +0000 (2022-07-02)
parents 80f721de4db7
children
rev   line source
pascal@14166 1 # SliTaz package receipt.
pascal@14166 2
pascal@14166 3 PACKAGE="fossil"
Hans-G?nter@24560 4 VERSION="2.18"
pascal@14166 5 CATEGORY="development"
pascal@14166 6 SHORT_DESC="Simple, high-reliability, distributed software configuration management."
pascal@14166 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="BSD"
Hans-G?nter@20933 9 WEB_SITE="https://www.fossil-scm.org/index.html"
Hans-G?nter@20933 10
Hans-G?nter@20933 11 TARBALL="$PACKAGE-src-$VERSION.tar.gz"
Hans-G?nter@24560 12 WGET_URL="https://www.fossil-scm.org/home/tarball/version-$VERSION/$TARBALL"
pascal@14166 13
pascal@24766 14 DEPENDS="fuse libcrypto libssl zlib"
pascal@24766 15 BUILD_DEPENDS="fuse2-dev openssl-dev zlib-dev"
pascal@14166 16
pascal@23958 17 current_version()
pascal@23958 18 {
pascal@23958 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@23958 20 sed '/Latest Release/!d;s|.*: ||;s| .*||'
pascal@23958 21 }
pascal@23958 22
pascal@14166 23 # Rules to configure and make the package.
pascal@14166 24 compile_rules()
pascal@14166 25 {
Hans-G?nter@22769 26 ./configure \
Hans-G?nter@22769 27 --prefix=/usr \
Hans-G?nter@20933 28 $CONFIGURE_ARGS &&
Hans-G?nter@24560 29 make &&
Hans-G?nter@24560 30 make install DESTDIR=$DESTDIR
pascal@14166 31 }
pascal@14166 32
pascal@14166 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14166 34 genpkg_rules()
pascal@14166 35 {
Hans-G?nter@24560 36 # mkdir -p $install/usr/share/man/man1
Hans-G?nter@24560 37 # cp $src/fossil.1 $install/usr/share/man/man1
Hans-G?nter@24560 38 cp -a $install/usr $fs
pascal@14166 39 }