wok annotate mmv/receipt @ rev 25699
Up redis (7.2.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 26 16:05:16 2024 +0000 (3 months ago) |
parents | b70ccaef1b57 |
children |
rev | line source |
---|---|
llevrel@18832 | 1 # SliTaz package receipt. |
llevrel@18832 | 2 |
llevrel@18832 | 3 PACKAGE="mmv" |
Hans-G?nter@25689 | 4 VERSION="2.6" |
llevrel@18832 | 5 CATEGORY="system-tools" |
Hans-G?nter@25689 | 6 SHORT_DESC="Move, copy, append, or link multiple files in one command." |
llevrel@18832 | 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>" |
Hans-G?nter@25689 | 8 LICENSE="GPL3+" |
Hans-G?nter@25689 | 9 WEB_SITE="https://github.com/rrthomas/mmv" |
llevrel@18832 | 10 |
Hans-G?nter@25689 | 11 TARBALL="${PACKAGE}-${VERSION}.tar.gz" |
Hans-G?nter@25689 | 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
llevrel@18832 | 13 |
Hans-G?nter@25689 | 14 DEPENDS="gc" |
Hans-G?nter@25689 | 15 BUILD_DEPENDS="gc-dev" |
pascal@24419 | 16 |
Hans-G?nter@25690 | 17 # What is the latest version available today? |
Hans-G?nter@25690 | 18 current_version() |
Hans-G?nter@25690 | 19 { |
Hans-G?nter@25690 | 20 wget -O - 'https://github.com/rrthomas/mmv/releases/latest' 2>/dev/null | \ |
Hans-G?nter@25690 | 21 sed '/<title/!d;s|.*Release v||;s| .*||' |
Hans-G?nter@25690 | 22 } |
Hans-G?nter@25690 | 23 |
llevrel@18832 | 24 # Rules to configure and make the package. |
llevrel@18832 | 25 compile_rules() |
llevrel@18832 | 26 { |
Hans-G?nter@25689 | 27 ./configure --prefix=/usr && |
Hans-G?nter@25689 | 28 make && |
Hans-G?nter@25689 | 29 make install |
llevrel@18832 | 30 } |
llevrel@18832 | 31 |
llevrel@18832 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
llevrel@18832 | 33 genpkg_rules() |
llevrel@18832 | 34 { |
Hans-G?nter@25689 | 35 cook_copy_folders bin |
llevrel@18832 | 36 } |