wok-next diff unetbootin/receipt @ rev 21426

updated qcad (3.7.5 -> 3.24.3.4)
author Hans-G?nter Theisgen
date Tue May 05 07:09:38 2020 +0100 (2020-05-05)
parents d43bf7aae921
children
line diff
     1.1 --- a/unetbootin/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/unetbootin/receipt	Tue May 05 07:09:38 2020 +0100
     1.3 @@ -1,49 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="unetbootin"
     1.8  VERSION="625"
     1.9 -SYSTEM="linux"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="Allows you to create bootable Live USB drives. Binary version."
    1.12 -MAINTAINER="hackdorte@sapo.pt"
    1.13 +SHORT_DESC="Allows you to create bootable Live USB drives. Binary version"
    1.14 +MAINTAINER="devel@slitaz.org"
    1.15  LICENSE="GPLv3"
    1.16  WEB_SITE="https://launchpad.net/unetbootin"
    1.17  
    1.18 -TARBALL="${PACKAGE}-$SYSTEM-${VERSION}.bin"
    1.19 -WGET_URL="${WEB_SITE}/trunk/${VERSION}/+download/${TARBALL}"
    1.20 +TARBALL="$PACKAGE-linux-$VERSION.bin"
    1.21 +WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
    1.22  
    1.23 -SUGGESTED="bash gparted xz"
    1.24 -DEPENDS="dosfstools libQtCore libQtGui mtools p7zip-full"
    1.25 +compile_rules() {
    1.26 +	install -Dm755 $TARBALL $install/usr/libexec/$TARBALL
    1.27  
    1.28 -# Rules to configure and make the package.
    1.29 -compile_rules()
    1.30 -{
    1.31 -  mkdir -p $install/usr/lib/$PACKAGE
    1.32 -  cp -a $src/* $install/usr/lib/$PACKAGE
    1.33 -  chmod +x $install/usr/lib/$PACKAGE/$PACKAGE-$SYSTEM-$VERSION.bin
    1.34 -
    1.35 -  mkdir -p $install/usr/bin
    1.36 -  cp -a $stuff/* $install/usr/bin
    1.37 -  chmod +x $install/usr/bin/unetbootin
    1.38 -
    1.39 -  mkdir -p $install/usr/share/applications
    1.40 -
    1.41 -cat > $install/usr/share/applications/$PACKAGE.desktop <<EOT
    1.42 -[Desktop Entry]
    1.43 -Type=Application
    1.44 -Name=Unetbootin
    1.45 -Comment=Unetbootin allows you to create bootable Live USB drives.
    1.46 -Categories=GTK;System;Filesystem;
    1.47 -StartupNotify=false
    1.48 -Terminal=false
    1.49 -Icon=drive-harddisk-usb
    1.50 -Exec=unetbootin
    1.51 -
    1.52 -EOT
    1.53 +	mkdir -p $install/usr/bin
    1.54 +	sed "s|@VERSION@|$VERSION|" $stuff/unetbootin.in > $install/usr/bin/unetbootin
    1.55 +	chmod 755 $install/usr/bin/unetbootin
    1.56  }
    1.57  
    1.58 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.59 -genpkg_rules()
    1.60 -{
    1.61 -  cp -a $install/* $fs
    1.62 +genpkg_rules() {
    1.63 +	copy @std
    1.64 +	DEPENDS="dosfstools libQtCore libQtGui mtools p7zip-full"
    1.65 +	SUGGESTED="bash gparted xz"
    1.66  }