mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:37:17 +08:00
libsysactivity 0.6.4
This commit is contained in:
parent
131b5695c9
commit
5a102fcb6f
@ -1,26 +1,21 @@
|
||||
#
|
||||
# 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>
|
||||
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||
|
||||
pkgname=libsysactivity
|
||||
pkgver=0.6.1
|
||||
pkgrel=2
|
||||
pkgver=0.6.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 cmakelist.patch)
|
||||
md5sums=('a81fc993489dafd5308347b3a48525a5'
|
||||
'af299470d092281bd54b4a67505211d8')
|
||||
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('ff608ad4b1e589f03b5b1aa664fecfd8')
|
||||
|
||||
build(){
|
||||
cd ${srcdir}
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
patch -Np0 -i "${srcdir}/cmakelist.patch" || return 1
|
||||
# patch -Np0 -i "${srcdir}/cmakelist.patch" || return 1
|
||||
mkdir ${srcdir}/build
|
||||
cd ${srcdir}/build
|
||||
cmake ${srcdir}/libsysactivity-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||
@ -30,4 +25,4 @@ build(){
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user