wok diff tup/receipt @ rev 24143

Add ventoy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 16 17:16:48 2021 +0000 (2021-11-16)
parents c59c1fa413a6
children cb67b4f8be05
line diff
     1.1 --- a/tup/receipt	Sat Mar 07 18:30:49 2015 +0000
     1.2 +++ b/tup/receipt	Tue Nov 16 17:16:48 2021 +0000
     1.3 @@ -13,10 +13,15 @@
     1.4  DEPENDS="fuse"
     1.5  BUILD_DEPENDS="fuse-dev git"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://github.com/gittup/tup/tags 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	./bootstrap.sh &&
    1.18  	mkdir -p $DESTDIR/usr/bin
    1.19  	cp tup $DESTDIR/usr/bin