wok-next view qarma/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 7ee2afdb0ea6 |
children | 5669e8b3be70 |
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 xorg-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 xorg-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 }