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