wok-next annotate unetbootin/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 70e3f8be8c1a |
children | d5aab818505e |
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 |
hackdorte@19155 | 18 # Rules to configure and make the package. |
hackdorte@19155 | 19 compile_rules() |
hackdorte@19155 | 20 { |
hackdorte@19155 | 21 mkdir -p $install/usr/lib/$PACKAGE |
hackdorte@19155 | 22 cp -a $src/* $install/usr/lib/$PACKAGE |
hackdorte@19155 | 23 chmod +x $install/usr/lib/$PACKAGE/$PACKAGE-$SYSTEM-$VERSION.bin |
hackdorte@19155 | 24 |
hackdorte@19155 | 25 mkdir -p $install/usr/bin |
hackdorte@19155 | 26 cp -a $stuff/* $install/usr/bin |
hackdorte@19155 | 27 chmod +x $install/usr/bin/unetbootin |
hackdorte@19155 | 28 |
hackdorte@19155 | 29 mkdir -p $install/usr/share/applications |
hackdorte@19155 | 30 |
hackdorte@19155 | 31 cat > $install/usr/share/applications/$PACKAGE.desktop <<EOT |
hackdorte@19155 | 32 [Desktop Entry] |
hackdorte@19155 | 33 Type=Application |
hackdorte@19155 | 34 Name=Unetbootin |
hackdorte@19156 | 35 Comment=Unetbootin allows you to create bootable Live USB drives. |
hackdorte@19155 | 36 Categories=GTK;System;Filesystem; |
hackdorte@19155 | 37 StartupNotify=false |
hackdorte@19155 | 38 Terminal=false |
hackdorte@19155 | 39 Icon=drive-harddisk-usb |
hackdorte@19155 | 40 Exec=unetbootin |
hackdorte@19155 | 41 |
hackdorte@19155 | 42 EOT |
hackdorte@19155 | 43 } |
hackdorte@19155 | 44 |
hackdorte@19155 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19155 | 46 genpkg_rules() |
hackdorte@19155 | 47 { |
hackdorte@19155 | 48 cp -a $install/* $fs |
hackdorte@19155 | 49 } |