wok view fossil/receipt @ rev 24384
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 16:04:43 2022 +0000 (2022-02-06) |
parents | d3cfd25843be |
children | 80f721de4db7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fossil"
4 VERSION="2.12.1"
5 CATEGORY="development"
6 SHORT_DESC="Simple, high-reliability, distributed software configuration management."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.fossil-scm.org/index.html"
11 TARBALL="$PACKAGE-src-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/uv/$TARBALL"
14 DEPENDS="libcrypto libssl zlib"
15 BUILD_DEPENDS="fuse-dev openssl-dev zlib-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Latest Release/!d;s|.*: ||;s| .*||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $install/usr/share/man/man1
37 cp $src/fossil.1 $install/usr/share/man/man1
38 cp -a $install/usr $fs/
39 }