wok annotate logfsprogs/receipt @ rev 24708
updated ldm (0.3 -> 0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 16:37:52 2022 +0100 (2022-03-14) |
parents | 34e801e0eb52 |
children | a66f312c374b |
rev | line source |
---|---|
pascal@19273 | 1 # SliTaz package receipt. |
pascal@19273 | 2 |
pascal@19273 | 3 PACKAGE="logfsprogs" |
pascal@19273 | 4 VERSION="20121013" |
pascal@19273 | 5 HASH="45b72c81ce3c6fa17ca19bafc207ea93e76312f4" |
pascal@19273 | 6 CATEGORY="system-tools" |
pascal@19273 | 7 SHORT_DESC="Utilities for making LogFS file-system" |
pascal@19273 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19273 | 9 LICENSE="GPL2" |
pascal@19273 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@19273 | 11 WEB_SITE="https://github.com/prasad-joshi/logfsprogs" |
pascal@19273 | 12 WGET_URL="$WEB_SITE/archive/$HASH.zip" |
pascal@19273 | 13 |
pascal@19273 | 14 DEPENDS="zlib" |
pascal@19273 | 15 BUILD_DEPENDS="zlib-dev" |
pascal@19273 | 16 |
pascal@24497 | 17 # What is the latest version available today? |
pascal@24497 | 18 current_version() |
pascal@24497 | 19 { |
pascal@24497 | 20 wget -O - https://github.com/prasad-joshi/logfsprogs/commits/master 2>/dev/null | \ |
pascal@24506 | 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24497 | 22 } |
pascal@24497 | 23 |
pascal@19273 | 24 # Rules to configure and make the package. |
pascal@19273 | 25 compile_rules() |
pascal@19273 | 26 { |
pascal@19273 | 27 make |
pascal@19273 | 28 } |
pascal@19273 | 29 |
pascal@19273 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19273 | 31 genpkg_rules() |
pascal@19273 | 32 { |
pascal@19273 | 33 mkdir -p $fs/usr/sbin |
pascal@19273 | 34 cp -a $src/mklogfs $fs/usr/sbin |
pascal@19273 | 35 } |