wok-next view libsysstat/receipt @ rev 20886

python-blessings: update (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 15:42:56 2018 +0300 (2018-07-13)
parents e6d548803bb4
children 8b5b2a6d07b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsysstat"
4 VERSION="0.4.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library used to query system info and statistics"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/libsysstat"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/libsysstat.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/libsysstat/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="lxqt-build-tools"
16 SPLIT="libsysstat-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 libsysstat)
32 copy @std
33 DEPENDS="qt5-base"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libsysstat qt5-dev"
38 ;;
39 esac
40 TAGS="LXQt"
41 }