mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 08:07:14 +08:00
24 lines
754 B
Bash
24 lines
754 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=libsysactivity
|
||
|
pkgver=0.5.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="A lightweight library that retrieves statistics of the system's activity in a portable and thread safe way."
|
||
|
url="http://sourceforge.net/projects/libsysactivity/"
|
||
|
license=('LGPL')
|
||
|
arch=('i686' 'x86_64')
|
||
|
depends=('glibc')
|
||
|
makedepends=('cmake')
|
||
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('4af8a52f30b3fc67c7a7e75619e0b553')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
||
|
make
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|