wok-next annotate libsysstat/receipt @ rev 20570
More fix libtool; audit: apply patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 09:28:50 2018 +0300 (2018-04-13) |
parents | e6d548803bb4 |
children | 8b5b2a6d07b8 |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="libsysstat" |
al@20318 | 4 VERSION="0.4.0" |
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@19989 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@16833 | 19 mkdir build; cd build |
al@19989 | 20 cmake \ |
al@19989 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 23 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 24 .. && |
al@16833 | 25 make && |
al@19989 | 26 make install |
al@16833 | 27 } |
al@16833 | 28 |
al@19989 | 29 genpkg_rules() { |
al@19989 | 30 case $PACKAGE in |
al@19989 | 31 libsysstat) |
al@19989 | 32 copy @std |
al@19989 | 33 DEPENDS="qt5-base" |
al@19989 | 34 ;; |
al@19989 | 35 *-dev) |
al@19989 | 36 copy @dev |
al@19989 | 37 DEPENDS="libsysstat qt5-dev" |
al@19989 | 38 ;; |
al@19989 | 39 esac |
al@19989 | 40 TAGS="LXQt" |
al@16833 | 41 } |