wok-next annotate liblxqt/receipt @ rev 20302
Up gnustep-make (2.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:12:26 2017 +0100 (2017-11-10) |
parents | 4c3ee4d2d357 |
children | d394530f7404 |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="liblxqt" |
al@19989 | 4 VERSION="0.11.1" |
al@16833 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Core utility library for all LXDE-Qt components" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/liblxqt" |
al@19989 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/liblxqt.html" |
al@16833 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="https://github.com/lxde/liblxqt/releases/download/$VERSION/$TARBALL" |
al@16833 | 14 |
al@19989 | 15 BUILD_DEPENDS="lxqt-build-tools xorg-libX11-dev mesa17-dev libqtxdg-dev \ |
al@19989 | 16 kwindowsystem-dev xorg-libXScrnSaver-dev" |
al@19989 | 17 SPLIT="liblxqt-dev" |
al@19989 | 18 |
al@19989 | 19 compile_rules() { |
al@16833 | 20 mkdir build; cd build |
al@19989 | 21 cmake \ |
al@19989 | 22 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 24 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 25 -DPULL_TRANSLATIONS=no \ |
al@19989 | 26 \ |
al@19989 | 27 -DLXQT_VERSION=$VERSION -DLXQT_MAJOR_VERSION=${VERSION%%.*} \ |
al@19989 | 28 .. && |
al@16833 | 29 make && |
al@19989 | 30 make install |
al@16833 | 31 } |
al@16833 | 32 |
al@19989 | 33 genpkg_rules() { |
al@19989 | 34 case $PACKAGE in |
al@19989 | 35 liblxqt) |
al@19989 | 36 copy @std |
al@19989 | 37 DEPENDS="kwindowsystem libqtxdg qt5-base qt5-svg qt5-x11extras \ |
al@19989 | 38 xorg-libX11 xorg-libXScrnSaver" |
al@19989 | 39 ;; |
al@19989 | 40 *-dev) |
al@19989 | 41 copy @dev |
al@19989 | 42 DEPENDS="liblxqt libqtxdg-dev qt5-dev" |
al@19989 | 43 ;; |
al@19989 | 44 esac |
al@19989 | 45 TAGS="LXQt" |
al@16833 | 46 } |