wok-next view libqtxdg/receipt @ rev 21423
updated puzzles again ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:56:50 2020 +0100 (2020-04-27) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libqtxdg"
4 VERSION="3.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt implementation of freedesktop.org XDG specs"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxqt/libqtxdg"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/libqtxdg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/libqtxdg/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="lxqt-build-tools mesa-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libqtxdg)
32 copy @std
33 DEPENDS="qt5-base qt5-svg"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libqtxdg qt5-dev"
38 ;;
39 esac
40 TAGS="LXQt"
41 }