removed libsysactivity as per #82 [skip-ci]

This commit is contained in:
AlmAck 2018-08-09 22:41:25 +02:00
parent cd69a9b839
commit de58c2ae11
2 changed files with 0 additions and 47 deletions

View File

@ -1,28 +0,0 @@
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=libsysactivity
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)
md5sums=('ff608ad4b1e589f03b5b1aa664fecfd8')
build(){
cd ${srcdir}
cd ${srcdir}/${pkgname}-${pkgver}
# 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
make
}
package() {
cd ${srcdir}/build
make DESTDIR="${pkgdir}" install
}

View File

@ -1,19 +0,0 @@
*** libsysactivity-0.6.1/CMakeLists.txt Wed Apr 13 11:14:38 2011
--- CMakeLists.txt Sat May 14 00:30:43 2011
***************
*** 28,34 ****
check_c_compiler_flag("-flto" HAS_FLTO_FLAG)
if (HAS_FLTO_FLAG)
add_definitions(-flto)
! list(APPEND CMAKE_SHARED_LINKER_FLAGS "-flto")
endif (HAS_FLTO_FLAG)
# Adding debug flags
--- 28,34 ----
check_c_compiler_flag("-flto" HAS_FLTO_FLAG)
if (HAS_FLTO_FLAG)
add_definitions(-flto)
! set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -flto")
endif (HAS_FLTO_FLAG)
# Adding debug flags