wok-current view logfsprogs/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | 384cff1476e1 |
children | 8f37db468deb |
line source
1 # SliTaz package receipt.
3 PACKAGE="logfsprogs"
4 VERSION="20121013"
5 HASH="45b72c81ce3c6fa17ca19bafc207ea93e76312f4"
6 CATEGORY="system-tools"
7 SHORT_DESC="Utilities for making LogFS file-system"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/prasad-joshi/logfsprogs"
12 WGET_URL="$WEB_SITE/archive/$HASH.zip"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/prasad-joshi/logfsprogs/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 cp -a $src/mklogfs $fs/usr/sbin
35 }