wok annotate fzy/receipt @ rev 25693
dropbear (2024.84) fixes terrapin-attack, again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 13:35:21 2024 +0000 (9 months ago) |
parents | e1e1678c5265 |
children |
rev | line source |
---|---|
paul@19150 | 1 # SliTaz package receipt. |
paul@19150 | 2 |
paul@19150 | 3 PACKAGE="fzy" |
Hans-G?nter@20945 | 4 VERSION="1.0" |
paul@19150 | 5 CATEGORY="utilities" |
paul@19150 | 6 SHORT_DESC="A fast, simple fuzzy finder." |
pascal@24727 | 7 LICENSE="MIT" |
paul@19150 | 8 MAINTAINER="paul@slitaz.org" |
paul@19150 | 9 WEB_SITE="https://github.com/jhawthorn/fzy" |
Hans-G?nter@20945 | 10 |
Hans-G?nter@20945 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24974 | 12 WGET_URL="https://github.com/jhawthorn/$PACKAGE/releases/download/$VERSION/$TARBALL" |
paul@19150 | 13 |
paul@19150 | 14 DEPENDS="" |
Hans-G?nter@20945 | 15 BUILD_DEPENDS="" |
paul@19150 | 16 |
pascal@25599 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@25599 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25599 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
paul@19150 | 24 # Rules to configure and make the package. |
paul@19150 | 25 compile_rules() |
paul@19150 | 26 { |
Hans-G?nter@20945 | 27 make -j 1 && |
paul@19150 | 28 make PREFIX=/usr DESTDIR=$DESTDIR install |
paul@19150 | 29 } |
paul@19150 | 30 |
paul@19150 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@19150 | 32 genpkg_rules() |
paul@19150 | 33 { |
paul@19150 | 34 mkdir -p $fs/usr |
paul@19150 | 35 cp -a $install/usr/bin $fs/usr |
paul@19150 | 36 } |