wok-6.x view luufs/receipt @ rev 24788
grep: add post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 09:31:32 2022 +0000 (2022-03-21) |
parents | b569b85b0fb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="luufs"
4 GITHASH="e7a7eb18c6456b91b807c1a5bbbf9df41a6a0f67"
5 #VERSION="${GITHASH:0:7}"
6 VERSION="0.1"
7 CATEGORY="misc"
8 SHORT_DESC="Lazy man's, user-mode union file system."
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="https://github.com/dimkr/luufs"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 #WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
15 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
17 DEPENDS="fuse2"
18 BUILD_DEPENDS="fuse2-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/sbin $fs
38 }