wok-current view unetbootin/receipt @ rev 19435

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