wok-next view libsysstat/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsysstat"
4 VERSION="0.4.1"
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/lxqt/libsysstat"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 .. &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libsysstat)
33 copy @std
34 DEPENDS="qt5-base"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libsysstat qt5-dev"
39 ;;
40 esac
41 TAGS="LXQt"
42 }