wok-6.x annotate unetbootin/receipt @ rev 20919
updated file, libmagic, libmagic-dev, and python-magic (5.30 -> 5.36)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 16:28:21 2019 +0100 (2019-03-01) |
parents | d72895864c7a |
children | ad58a2dfd4b8 |
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 CATEGORY="system-tools" |
pascal@19576 | 6 SHORT_DESC="Allows you to create bootable Live USB drives." |
pascal@19576 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19576 | 8 LICENSE="GPL2" |
pascal@19576 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://unetbootin.github.io/" |
pascal@19576 | 11 WGET_URL="https://github.com/unetbootin/unetbootin/archive/$VERSION.tar.gz" |
hackdorte@19155 | 12 |
pascal@19581 | 13 DEPENDS="syslinux mtools p7zip-full libQtCore libQtGui libQtNetwork" |
pascal@19577 | 14 BUILD_DEPENDS="qmake Qt4-dev upx" |
hackdorte@19155 | 15 SUGGESTED="bash gparted xz" |
hackdorte@19155 | 16 |
hackdorte@19155 | 17 # Rules to configure and make the package. |
hackdorte@19155 | 18 compile_rules() |
hackdorte@19155 | 19 { |
pascal@19576 | 20 cd $src/src/unetbootin |
pascal@19577 | 21 sed -i 's/Cooking/Rolling/' distrover*.cpp |
pascal@19578 | 22 sed -i 's/^\(.*\)"gpxe"\(.*\)$/&\n\1"ipxe"\2/' distrolst.cpp |
pascal@19577 | 23 sed -i 's/"rootfs.gz"/& << "rootfs1.gz" << "rootfs2.gz" << "rootfs3.gz" << "rootfs4.gz"/' unetbootin.cpp |
pascal@19577 | 24 sed -i '/^RESOURCES/d' unetbootin.pro |
pascal@19576 | 25 sed -i '/^RESOURCES/d' unetbootin.pro |
pascal@19576 | 26 lupdate unetbootin.pro |
pascal@19576 | 27 lrelease unetbootin.pro |
pascal@19576 | 28 qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc" |
pascal@19576 | 29 make |
pascal@19577 | 30 upx unetbootin |
pascal@19576 | 31 } |
hackdorte@19155 | 32 |
pascal@19576 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19576 | 34 genpkg_rules() |
pascal@19576 | 35 { |
pascal@19576 | 36 mkdir -p $fs/usr/bin $fs/usr/share/unetbootin $fs/usr/share/applications |
pascal@19576 | 37 cp $src/src/unetbootin/unetbootin $fs/usr/bin |
pascal@19576 | 38 cp $src/src/unetbootin/unetbootin_*.qm $fs/usr/share/unetbootin |
pascal@19576 | 39 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT |
hackdorte@19155 | 40 [Desktop Entry] |
hackdorte@19155 | 41 Type=Application |
hackdorte@19155 | 42 Name=Unetbootin |
hackdorte@19156 | 43 Comment=Unetbootin allows you to create bootable Live USB drives. |
hackdorte@19155 | 44 Categories=GTK;System;Filesystem; |
hackdorte@19155 | 45 StartupNotify=false |
hackdorte@19155 | 46 Terminal=false |
hackdorte@19155 | 47 Icon=drive-harddisk-usb |
pascal@19579 | 48 Exec=tazbox su unetbootin |
hackdorte@19155 | 49 EOT |
hackdorte@19155 | 50 } |