wok annotate libsysstat/receipt @ rev 19685
Up tazpkg (942)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Feb 12 04:43:38 2017 +0200 (2017-02-12) |
parents | 7aac542e058a |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="libsysstat" |
al@16833 | 4 VERSION="0.1.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@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16833 | 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@16833 | 14 DEPENDS="libQtCore libQtGui" |
al@16833 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" |
al@16833 | 16 |
al@16833 | 17 # Rules to configure and make the package. |
al@16833 | 18 compile_rules() |
al@16833 | 19 { |
al@16833 | 20 mkdir build; cd build |
al@16833 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 22 make && |
al@16833 | 23 make DESTDIR=$install install |
al@16833 | 24 } |
al@16833 | 25 |
al@16833 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 27 genpkg_rules() |
al@16833 | 28 { |
al@16833 | 29 mkdir -p $fs/usr/lib |
al@16833 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16833 | 31 } |