wok annotate fzy/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents 82d54eca72be
children 20ad21d5532c
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@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*}s 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@19150 23 # Rules to configure and make the package.
paul@19150 24 compile_rules()
paul@19150 25 {
Hans-G?nter@20945 26 make -j 1 &&
paul@19150 27 make PREFIX=/usr DESTDIR=$DESTDIR install
paul@19150 28 }
paul@19150 29
paul@19150 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@19150 31 genpkg_rules()
paul@19150 32 {
paul@19150 33 mkdir -p $fs/usr
paul@19150 34 cp -a $install/usr/bin $fs/usr
paul@19150 35 }