wok rev 24143
Add ventoy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 16 17:16:48 2021 +0000 (2021-11-16) |
parents | 4769ccf2417c |
children | 8b4c18e6ad16 |
files | ventoy/description.txt ventoy/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ventoy/description.txt Tue Nov 16 17:16:48 2021 +0000 1.3 @@ -0,0 +1,8 @@ 1.4 +With ventoy, you don't need to format the disk over and over, you just need to 1.5 +copy the image files to the USB drive and boot it. You can copy many image 1.6 +files at a time and ventoy will give you a boot menu to select them. 1.7 +x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are 1.8 +supported in the same way. 1.9 +Both MBR and GPT partition style are supported in the same way. 1.10 +Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) 1.11 +700+ ISO files are tested. 90%+ distros in distrowatch.com supported.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ventoy/receipt Tue Nov 16 17:16:48 2021 +0000 2.3 @@ -0,0 +1,58 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ventoy" 2.7 +VERSION="1.0.61" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="A tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL3" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="https://ventoy.net/en/index.html" 2.14 +WGET_URL="https://github.com/ventoy/Ventoy/archive/refs/tags/v$VERSION.tar.gz" 2.15 +EXTRA_SOURCE_FILES="$PACKAGE-bin-$VERSION.tar.gz" 2.16 + 2.17 +DEPENDS="libglade" 2.18 +BUILD_DEPENDS="libglade-dev gtk+-dev pkg-config" 2.19 + 2.20 +current_version() 2.21 +{ 2.22 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.23 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 2.24 +} 2.25 + 2.26 +# Rules to configure and make the package. 2.27 +compile_rules() 2.28 +{ 2.29 + sed -i 's|^build_func |#&|;s|#\(build_func .*i386.*gtk2\)|\1|;s|-l pthread|& -l rt|' LinuxGUI/build_gtk.sh 2.30 + cd LinuxGUI && sh build_gtk.sh 2.31 + [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || 2.32 + wget --no-check-certificate -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES \ 2.33 + "https://github.com/ventoy/Ventoy/releases/download/v$VERSION/ventoy-$VERSION-linux.tar.gz" 2.34 +} 2.35 + 2.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.37 +genpkg_rules() 2.38 +{ 2.39 + mkdir -p $fs/usr/share/applications 2.40 + tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES -C $fs/usr/share/ 2.41 + mv $fs/usr/share/ventoy-$VERSION $fs/usr/share/ventoy 2.42 + rm -f $fs/usr/share/ventoy/VentoyGUI* $fs/usr/share/ventoy/*.exe 2.43 + rm -f $fs/usr/share/ventoy/tool/i386/*.qt5 $fs/usr/share/ventoy/tool/i386/*.gtk? 2.44 + rm -rf $fs/usr/share/ventoy/tool/aarch64 2.45 + rm -rf $fs/usr/share/ventoy/tool/x86_64 2.46 + rm -rf $fs/usr/share/ventoy/tool/mips64el 2.47 + cp $src/INSTALL/tool/i386/Ventoy2Disk.gtk2 $fs/usr/share/ventoy/tool/i386/ 2.48 + cat > $fs/usr/share/applications/ventoy.desktop <<EOT 2.49 +[Desktop Entry] 2.50 +Version=1.0 2.51 +Name=Create a bootable USB 2.52 +Name[fr]=Créer une clé USB bootable 2.53 +Comment=A New Bootable USB Solution 2.54 +Comment[fr]=Une nouvelle façon de démarrer par USB 2.55 +Categories=GNOME;System;Filesystem; 2.56 +Exec=tazbox su /usr/share/ventoy/tool/i386/Ventoy2Disk.gtk2 2.57 +Icon=/usr/share/ventoy/WebUI/static/img/VentoyLogo.png 2.58 +Terminal=false 2.59 +Type=Application 2.60 +EOT 2.61 +}