wok annotate clicfs/receipt @ rev 25687
updated sc-im (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:51:51 2024 +0100 (7 months ago) |
parents | 89c8d8b6cf48 |
children |
rev | line source |
---|---|
pascal@17538 | 1 # SliTaz package receipt. |
pascal@17538 | 2 |
pascal@17538 | 3 PACKAGE="clicfs" |
pascal@17538 | 4 GITHASH="1e86c5520648e7c292802eb1e7864b3bd9a5c6f6" |
pascal@17538 | 5 VERSION="${GITHASH:0:7}" |
pascal@17538 | 6 CATEGORY="system-tools" |
pascal@17538 | 7 SHORT_DESC="Compressed Loop Image Container File System (see suse studio)." |
pascal@17538 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17538 | 9 LICENSE="GPL2" |
pascal@17538 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@17538 | 11 WEB_SITE="https://github.com/openSUSE/clicfs" |
pascal@17538 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@17538 | 13 |
pascal@24766 | 14 DEPENDS="fuse2 liblzma libcrypto gcc-lib-base" |
pascal@24766 | 15 BUILD_DEPENDS="cmake fuse2-dev liblzma-dev openssl-dev" |
pascal@17538 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24476 | 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24476 | 21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24476 | 22 } |
pascal@24476 | 23 |
pascal@17538 | 24 # Rules to configure and make the package. |
pascal@17538 | 25 compile_rules() |
pascal@17538 | 26 { |
pascal@17538 | 27 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@17538 | 28 make && |
pascal@17538 | 29 make DESTDIR=$DESTDIR install |
pascal@17538 | 30 } |
pascal@17538 | 31 |
pascal@17538 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17538 | 33 genpkg_rules() |
pascal@17538 | 34 { |
pascal@17538 | 35 mkdir -p $fs/usr |
pascal@17538 | 36 cp -a $install/usr/bin $fs/usr |
pascal@17538 | 37 } |