wok annotate unionfs-fuse/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
slaxemulator@8979 | 1 # SliTaz package receipt. |
slaxemulator@8979 | 2 |
slaxemulator@8979 | 3 PACKAGE="unionfs-fuse" |
Hans-G?nter@23719 | 4 VERSION="2.1" |
slaxemulator@8979 | 5 CATEGORY="system-tools" |
Hans-G?nter@22077 | 6 SHORT_DESC="An effort to create a userland unionfs implementation that is way more flexible than the current in-kernel based unionfs solution." |
slaxemulator@8979 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@20682 | 9 WEB_SITE="https://github.com/rpodgorny/unionfs-fuse" |
Hans-G?nter@22077 | 10 |
Hans-G?nter@22077 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22077 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
slaxemulator@8979 | 13 |
pascal@24766 | 14 DEPENDS="fuse2" |
pascal@24766 | 15 BUILD_DEPENDS="cmake fuse2-dev" |
pascal@15601 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
slaxemulator@8979 | 23 # Rules to configure and make the package. |
slaxemulator@8979 | 24 compile_rules() |
slaxemulator@8979 | 25 { |
Hans-G?nter@22077 | 26 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
Hans-G?nter@22077 | 27 make && |
Hans-G?nter@22077 | 28 make install |
slaxemulator@8979 | 29 } |
slaxemulator@8979 | 30 |
slaxemulator@8979 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8979 | 32 genpkg_rules() |
slaxemulator@8979 | 33 { |
slaxemulator@8979 | 34 mkdir -p $fs/usr |
Hans-G?nter@23719 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@8979 | 36 } |