wok view logfsprogs/receipt @ rev 25548

aaphoto: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 23 17:05:06 2023 +0000 (20 months ago)
parents 34e801e0eb52
children a66f312c374b
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 on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
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 }