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