wok view fossil/receipt @ rev 24713
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 14 18:23:09 2022 +0000 (2022-03-14) |
parents | af18e65b46b9 |
children | 72f2704d3ae0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fossil"
4 VERSION="2.18"
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="https://www.fossil-scm.org/home/tarball/version-$VERSION/$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 &&
30 make install DESTDIR=$DESTDIR
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 }