wok view fatcat/receipt @ rev 25282

updated rlwrap (0.43 -> 0.45.2)
author Hans-G?nter Theisgen
date Mon Jul 18 15:29:34 2022 +0100 (2022-07-18)
parents 699eb9be2e93
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="fatcat"
4 VERSION="1.1.1"
5 CATEGORY="base-system"
6 SHORT_DESC="FAT filesystems explore, extract, repair, and forensic tool"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/Gregwar/fatcat"
11 WGET_URL="$WEB_SITE/releases/download/debian_$VERSION/$TARBALL"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS="cmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build_linux
27 cd build_linux
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $install/usr/share/man/man1
36 cp $src/man/fatcat.1 $install/usr/share/man/man1
37 cp -a $src/docs $install/usr/share/doc
38 cp -a $install/usr/ $fs/
39 }