wok-next view qarma/receipt @ rev 21718
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 08:19:44 2020 +0000 (2020-07-29) |
parents | c0521c689857 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qarma"
4 VERSION="171125"
5 COMMIT="27606a8"
6 CATEGORY="utilities"
7 SHORT_DESC="Zenity Clone for Qt"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/luebking/qarma"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/luebking/qarma/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="qt5-dev libx11-dev"
17 compile_rules() {
18 qmake &&
19 # size 191236 -> 187140
20 sed -i 's|-O1|-Os|' Makefile &&
21 make &&
22 make INSTALL_ROOT=$install install
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="libatomic mesa qt5-base qt5-x11extras libx11"
28 }
30 post_install() {
31 [ -e "$1/usr/bin/zenity" ] || ln -s qarma "$1/usr/bin/zenity"
32 }
33 post_remove() {
34 [ ! -h "$1/usr/bin/zenity" ] || rm "$1/usr/bin/zenity"
35 }