wok-next annotate lxqt-connman-applet/receipt @ rev 20848
syslinux: normalize receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:29:10 2018 +0300 (2018-06-23) |
parents | e6d548803bb4 |
children | d5aab818505e |
rev | line source |
---|---|
al@20019 | 1 # SliTaz package receipt v2. |
al@20019 | 2 |
al@20019 | 3 PACKAGE="lxqt-connman-applet" |
al@20019 | 4 VERSION="0.0.91" # not released yet, it's commit #91 |
al@20019 | 5 COMMIT="fbca14a" |
al@20019 | 6 CATEGORY="system-tools" |
al@20019 | 7 SHORT_DESC="System-tray applet for connman" |
al@20019 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20019 | 9 LICENSE="LGPL2.1" |
al@20019 | 10 WEB_SITE="https://github.com/lxde/lxqt-connman-applet" |
al@20019 | 11 |
al@20019 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20019 | 13 WGET_URL="https://github.com/lxde/lxqt-connman-applet/archive/${COMMIT:-$VERSION}.tar.gz" |
al@20019 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake liblxqt-dev mesa-dev kwindowsystem-dev lxqt-build-tools" |
al@20019 | 16 SPLIT="lxqt-connman-applet-dev" |
al@20019 | 17 |
al@20019 | 18 compile_rules() { |
al@20019 | 19 mkdir build; cd build |
al@20019 | 20 cmake \ |
al@20019 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@20019 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20019 | 23 .. && |
al@20019 | 24 make && |
al@20019 | 25 make install |
al@20019 | 26 } |
al@20019 | 27 |
al@20019 | 28 genpkg_rules() { |
al@20019 | 29 case $PACKAGE in |
al@20019 | 30 lxqt-connman-applet) |
al@20019 | 31 copy @std |
al@20019 | 32 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg \ |
al@20019 | 33 qt5-x11extras" |
al@20019 | 34 ;; |
al@20019 | 35 *-dev) |
al@20019 | 36 copy @dev |
al@20019 | 37 ;; |
al@20019 | 38 esac |
al@20019 | 39 TAGS="LXQt" |
al@20019 | 40 } |