wok view fossil/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 80f721de4db7 |
children |
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="fuse libcrypto libssl zlib"
15 BUILD_DEPENDS="fuse2-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 }