wok-6.x view fatcat/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 699eb9be2e93
children
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 }