![.](loader.gif)
Receipt for package "unetbootin"
# SliTaz package receipt. PACKAGE="unetbootin" VERSION="677" CATEGORY="system-tools" SHORT_DESC="Create bootable Live USB drives for a variety of Linux distributions." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://unetbootin.github.io/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/unetbootin/unetbootin/archive/$VERSION.tar.gz" SUGGESTED="bash gparted xz" DEPENDS="libQtCore libQtGui libQtNetwork mtools p7zip-full syslinux" BUILD_DEPENDS="qmake Qt4-dev upx" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. compile_rules() { cd $src/src/unetbootin sed -i 's/Cooking/Rolling/' \ distrover*.cpp sed -i 's/^\(.*\)"gpxe"\(.*\)$/&\n\1"ipxe"\2/' \ distrolst.cpp sed -i 's/"rootfs.gz"/& << "rootfs1.gz" << "rootfs2.gz" << "rootfs3.gz" << "rootfs4.gz"/' \ unetbootin.cpp sed -i '/^RESOURCES/d' \ unetbootin.pro sed -i '/^RESOURCES/d' \ unetbootin.pro lupdate unetbootin.pro lrelease unetbootin.pro qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc" && make && upx unetbootin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $fs/usr/share/unetbootin mkdir -p $fs/usr/share/applications cp $src/src/unetbootin/unetbootin $fs/usr/bin cp $src/src/unetbootin/unetbootin_*.qm $fs/usr/share/unetbootin cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT [Desktop Entry] Type=Application Name=Unetbootin Comment=Create bootable Live USB drives. Categories=GTK;System;Filesystem; StartupNotify=false Terminal=false Icon=drive-harddisk-usb Exec=tazbox su unetbootin EOT }
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)