wok view encfs/receipt @ rev 24545

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 24 19:32:16 2022 +0000 (2022-02-24)
parents 094c55aa4930
children b1356f30c0b8
line source
1 # SliTaz package receipt.
3 PACKAGE="encfs"
4 VERSION="1.9.5"
5 CATEGORY="security"
6 TAGS="filesystem"
7 SHORT_DESC="Encryption filesystem for FUSE."
8 MAINTAINER="b1+slitaz@nagel.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://vgough.github.io/encfs/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/vgough/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="fuse gcc83-lib-base libboost-filesystem libboost-serialization
16 libboost-system openssl rlog"
17 BUILD_DEPENDS="cmake fuse-dev gcc83 glibc-dev libboost-filesystem-dev
18 libboost-serialization-dev libboost-system-dev openssl-dev rlog-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export CC=gcc-83
30 export CXX=g++-83
32 mkdir build
33 cd build
34 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }