wok annotate unetbootin/receipt @ rev 19155

Add: Unetbootin 625
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed May 25 07:20:23 2016 -0300 (2016-05-25)
parents
children 70e3f8be8c1a
rev   line source
hackdorte@19155 1 # SliTaz package receipt.
hackdorte@19155 2
hackdorte@19155 3 PACKAGE="unetbootin"
hackdorte@19155 4 VERSION="625"
hackdorte@19155 5 SYSTEM="linux"
hackdorte@19155 6 CATEGORY="system-tools"
hackdorte@19155 7 SHORT_DESC="Allows you to create bootable Live USB drives. Binary version."
hackdorte@19155 8 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19155 9 LICENSE="GPLv3"
hackdorte@19155 10 WEB_SITE="https://launchpad.net/unetbootin"
hackdorte@19155 11
hackdorte@19155 12 TARBALL="${PACKAGE}-$SYSTEM-${VERSION}.bin"
hackdorte@19155 13 WGET_URL="${WEB_SITE}/trunk/${VERSION}/+download/${TARBALL}"
hackdorte@19155 14
hackdorte@19155 15 SUGGESTED="bash gparted xz"
hackdorte@19155 16 DEPENDS="dosfstools libQtCore libQtGui mtools p7zip-full"
hackdorte@19155 17 BUILD_DEPENDS="wget"
hackdorte@19155 18
hackdorte@19155 19 # Rules to configure and make the package.
hackdorte@19155 20 compile_rules()
hackdorte@19155 21 {
hackdorte@19155 22 mkdir -p $install/usr/lib/$PACKAGE
hackdorte@19155 23 cp -a $src/* $install/usr/lib/$PACKAGE
hackdorte@19155 24 chmod +x $install/usr/lib/$PACKAGE/$PACKAGE-$SYSTEM-$VERSION.bin
hackdorte@19155 25
hackdorte@19155 26 mkdir -p $install/usr/bin
hackdorte@19155 27 cp -a $stuff/* $install/usr/bin
hackdorte@19155 28 chmod +x $install/usr/bin/unetbootin
hackdorte@19155 29
hackdorte@19155 30 mkdir -p $install/usr/share/applications
hackdorte@19155 31
hackdorte@19155 32 cat > $install/usr/share/applications/$PACKAGE.desktop <<EOT
hackdorte@19155 33 [Desktop Entry]
hackdorte@19155 34 Type=Application
hackdorte@19155 35 Name=Unetbootin
hackdorte@19155 36 Comment=UNetbootin allows you to create bootable Live USB drives.
hackdorte@19155 37 Categories=GTK;System;Filesystem;
hackdorte@19155 38 StartupNotify=false
hackdorte@19155 39 Terminal=false
hackdorte@19155 40 Icon=drive-harddisk-usb
hackdorte@19155 41 Exec=unetbootin
hackdorte@19155 42
hackdorte@19155 43 EOT
hackdorte@19155 44 }
hackdorte@19155 45
hackdorte@19155 46 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19155 47 genpkg_rules()
hackdorte@19155 48 {
hackdorte@19155 49 cp -a $install/* $fs
hackdorte@19155 50 }