wok-6.x annotate logfsprogs/receipt @ rev 24857
updated links and links-dfb (2.20.2 -> 2.25)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 28 17:04:25 2022 +0100 (2022-03-28) |
parents | 34e801e0eb52 |
children |
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 } |