wok view libsysstat/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | |
children | c0ce132ba4ee |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsysstat"
4 VERSION="0.1.0"
5 CATEGORY="system"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build; cd build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make &&
23 make DESTDIR=$install install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }