wok-next view 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 |
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p $install/usr/lib/$PACKAGE
22 cp -a $src/* $install/usr/lib/$PACKAGE
23 chmod +x $install/usr/lib/$PACKAGE/$PACKAGE-$SYSTEM-$VERSION.bin
25 mkdir -p $install/usr/bin
26 cp -a $stuff/* $install/usr/bin
27 chmod +x $install/usr/bin/unetbootin
29 mkdir -p $install/usr/share/applications
31 cat > $install/usr/share/applications/$PACKAGE.desktop <<EOT
32 [Desktop Entry]
33 Type=Application
34 Name=Unetbootin
35 Comment=Unetbootin allows you to create bootable Live USB drives.
36 Categories=GTK;System;Filesystem;
37 StartupNotify=false
38 Terminal=false
39 Icon=drive-harddisk-usb
40 Exec=unetbootin
42 EOT
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 cp -a $install/* $fs
49 }