wok-next annotate libsysstat/receipt @ rev 20969
Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 01:56:52 2018 +0300 (2018-09-14) |
parents | d394530f7404 |
children | d5aab818505e |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="libsysstat" |
al@20969 | 4 VERSION="0.4.1" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Library used to query system info and statistics" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/libsysstat" |
al@20969 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/libsysstat.html" |
al@16833 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="https://github.com/lxde/libsysstat/releases/download/$VERSION/$TARBALL" |
al@16833 | 14 |
al@19989 | 15 BUILD_DEPENDS="lxqt-build-tools" |
al@19989 | 16 SPLIT="libsysstat-dev" |
al@19989 | 17 |
al@19989 | 18 compile_rules() { |
al@20969 | 19 mkdir build |
al@20969 | 20 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 .. && |
al@16833 | 26 make && |
al@19989 | 27 make install |
al@16833 | 28 } |
al@16833 | 29 |
al@19989 | 30 genpkg_rules() { |
al@19989 | 31 case $PACKAGE in |
al@19989 | 32 libsysstat) |
al@19989 | 33 copy @std |
al@19989 | 34 DEPENDS="qt5-base" |
al@19989 | 35 ;; |
al@19989 | 36 *-dev) |
al@19989 | 37 copy @dev |
al@19989 | 38 DEPENDS="libsysstat qt5-dev" |
al@19989 | 39 ;; |
al@19989 | 40 esac |
al@19989 | 41 TAGS="LXQt" |
al@16833 | 42 } |