summaryrefslogtreecommitdiff
path: root/sys-libs/libstatgrab
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-libs/libstatgrab
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-libs/libstatgrab')
-rw-r--r--sys-libs/libstatgrab/Manifest8
-rw-r--r--sys-libs/libstatgrab/files/libstatgrab-0.91-tinfo.patch43
-rw-r--r--sys-libs/libstatgrab/libstatgrab-0.17.ebuild31
-rw-r--r--sys-libs/libstatgrab/libstatgrab-0.91.ebuild42
-rw-r--r--sys-libs/libstatgrab/metadata.xml5
5 files changed, 129 insertions, 0 deletions
diff --git a/sys-libs/libstatgrab/Manifest b/sys-libs/libstatgrab/Manifest
new file mode 100644
index 000000000000..cb6f38d0b1c3
--- /dev/null
+++ b/sys-libs/libstatgrab/Manifest
@@ -0,0 +1,8 @@
+AUX libstatgrab-0.91-tinfo.patch 1833 SHA256 b3b963fbf189c604ca26f2fc9b4f5a25b110f29b302b5b483f579b902508175d SHA512 71908cdac0684e4b6fae04f30156ca390d9bd525467f0954e94b5725e9ef5fe368cfd78ece333d8ffca5e02fc33b66e993655960a3cd1b9667a479be73943b6b WHIRLPOOL 596385d5558747fee4d050229f8c1dea5a33dd5f569163f8bcce77fdb91a45bc8eefdf6dafb0062c3df65159ea6ad657cfb09a115f8b57430cd924c784c5978d
+DIST libstatgrab-0.17.tar.gz 463224 SHA256 bbaa88c6bde8bd3cf2720b81a26528cc055a7e83e4ea3bdb1d0a3c4287cceb88 SHA512 feb8d8aa345d57a9036700d580a7d1e21aed9bb2063b46b2c57a59fce00eb20a22590e5e391c8a9a1f43055c14a6ce3fcf648b98f1fec3b4efd270455a2933e3 WHIRLPOOL fb317f471a2669389c4b3a8267d609a54c09d34c87c86ae833fe5bdb06619e895ed7224272238fc8449f573da8e4e4eda31affaea39a09e83bd85fa0c754f02b
+DIST libstatgrab-0.91.tar.gz 776046 SHA256 03e9328e4857c2c9dcc1b0347724ae4cd741a72ee11acc991784e8ef45b7f1ab SHA512 f360f2e1b185bf9603b1d9c50649b0050e9502128ff81a9f4de88457e2f5203deafe7fd7ac13ebc4cc56e6ecd1bdf8aacae64987bdf36af0c9929e30626915f6 WHIRLPOOL 185f895093e1a91204acf856847ee5dd3f1da7d3b25fb6987d8a30ec1b962ada0168b84f032b3f9974942ac41643c1ad12cee1b1b797faca5fe806d21a491048
+EBUILD libstatgrab-0.17.ebuild 776 SHA256 c54bf9fcc20bfa010be78784036f7519ae5dc3d797474301d2362e22d445f676 SHA512 e13d4dc6f30aa1c354b9239b99d1d813b400930dfb7ec61ef51c3ef4697b46a3c1470460d1acceeb1dd97db62969396bf977facd1c1e3bbbab97f3b6f842834c WHIRLPOOL 08b5c9a4ac43db8a37b02419bb05e562cd5d1ddfb5f5d513f960ca310ec33d789b48b066971312cde0cf266f37c1c150467deb5f10ef0ccf4d85f95446dba6ed
+EBUILD libstatgrab-0.91.ebuild 1029 SHA256 15bce9ffa941ec324ddbf0cb84e49b066ac453d8c4f398fece14a3cea754cd33 SHA512 675735af91c7e2a96adf5fb181aaeca63ecb94b0f978ac03b2bb0fad9ae9edad9277c207a801feb0ff2bd6db2252a990e55fe89136f8dc93807371d36148d50f WHIRLPOOL 0f431f6508c38f15bdcd8aa5e012e83da3e822cbbb3f8867e48af4c481ce923746b61858d7f724b6299a8b5fdd504b499919813f0355893c392866fc2775a5ce
+MISC ChangeLog 2629 SHA256 eee38590a34bf10b01d6262e1411254b6facded0398343b2a91c9c3204176493 SHA512 449d5b844b68955a80e2860a8d360245e37011aa82602938cd8306f6f820adfb40c76e515222bed581428ce03e9f775d0ab897f584855aa15abab40e16d58ae2 WHIRLPOOL e2dad2e0dfc2acb9bcfe3c69ee641842d90738e0500d67060ca511eec1289110a993e555f5d971d12f6209aa502d7369485caea904be147e5b4775ac89042967
+MISC ChangeLog-2015 4873 SHA256 f4376f077b95ed73996be21ab677f7f081dbfea406585b861b97f0fd9611cb03 SHA512 bc45c18fe7e0f807cbdb40e3a8453c529fe952a6ce83dfa295818a8dc1a8c91152022e2468175058b3911399ff4b82246a6d03326e240414ca9f4101a88f5ac4 WHIRLPOOL 328c4e427215ed1e3f65d1471b08309f729f5d092546a8448674125c733b035f47ae170a37a31bd83328d246230f6c444e7ea4e8ce04f35df3899a392baa4c8c
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/sys-libs/libstatgrab/files/libstatgrab-0.91-tinfo.patch b/sys-libs/libstatgrab/files/libstatgrab-0.91-tinfo.patch
new file mode 100644
index 000000000000..b0eb94cbcd8e
--- /dev/null
+++ b/sys-libs/libstatgrab/files/libstatgrab-0.91-tinfo.patch
@@ -0,0 +1,43 @@
+--- a/m4/ax_ncurses.m4
++++ b/m4/ax_ncurses.m4
+@@ -12,24 +12,31 @@
+
+ AS_IF([test "x$with_ncurses" != "xno"], [
+ AC_CACHE_CHECK([for working ncurses], mp_cv_ncurses, [
+- LIBS="$mp_save_LIBS $SAIDARLIBS -lncurses"
++ LIBS="$mp_save_LIBS $SAIDARLIBS -lncurses -ltinfo"
+ CPPFLAGS="$mp_save_CPPFLAGS $SAIDARCPPFLAGS"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ncurses.h>], [testcode])], [
+ mp_cv_ncurses="ncurses.h"
+- CURSES_LIB="-lncurses"
++ CURSES_LIB="-lncurses -ltinfo"
+ ], [
+ LIBS="$mp_save_LIBS $SAIDARLIBS -lncurses"
+ CPPFLAGS="$mp_save_CPPFLAGS $SAIDARCPPFLAGS"
+- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ncurses/ncurses.h>], [testcode])], [
+- mp_cv_ncurses="ncurses/ncurses.h"
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ncurses.h>], [testcode])], [
++ mp_cv_ncurses="ncurses.h"
+ CURSES_LIB="-lncurses"
+ ], [
+- LIBS="$mp_save_LIBS $SAIDARLIBS -lcurses"
++ LIBS="$mp_save_LIBS $SAIDARLIBS -lncurses"
+ CPPFLAGS="$mp_save_CPPFLAGS $SAIDARCPPFLAGS"
+- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curses.h>], [testcode])], [
+- mp_cv_ncurses="curses.h"
+- CURSES_LIB="-lcurses"
+- ], [mp_cv_ncurses=no])
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ncurses/ncurses.h>], [testcode])], [
++ mp_cv_ncurses="ncurses/ncurses.h"
++ CURSES_LIB="-lncurses"
++ ], [
++ LIBS="$mp_save_LIBS $SAIDARLIBS -lcurses"
++ CPPFLAGS="$mp_save_CPPFLAGS $SAIDARCPPFLAGS"
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curses.h>], [testcode])], [
++ mp_cv_ncurses="curses.h"
++ CURSES_LIB="-lcurses"
++ ], [mp_cv_ncurses=no])
++ ])
+ ])
+ ])
+ ])
diff --git a/sys-libs/libstatgrab/libstatgrab-0.17.ebuild b/sys-libs/libstatgrab/libstatgrab-0.17.ebuild
new file mode 100644
index 000000000000..58260ce4f121
--- /dev/null
+++ b/sys-libs/libstatgrab/libstatgrab-0.17.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="A tool to provide access to statistics about the system on which it's run"
+HOMEPAGE="http://www.i-scream.org/libstatgrab/"
+SRC_URI="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT=0
+KEYWORDS="amd64 ~arm ~ia64 ppc x86"
+IUSE="static-libs"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}"
+
+DOCS=( ChangeLog PLATFORMS NEWS AUTHORS README )
+
+src_configure() {
+ local myeconfargs=(
+ --disable-setgid-binaries
+ --disable-setuid-binaries
+ --disable-deprecated
+ --with-ncurses
+ $(use_enable static-libs static)
+ )
+ autotools-utils_src_configure
+}
diff --git a/sys-libs/libstatgrab/libstatgrab-0.91.ebuild b/sys-libs/libstatgrab/libstatgrab-0.91.ebuild
new file mode 100644
index 000000000000..66d6b6f489ea
--- /dev/null
+++ b/sys-libs/libstatgrab/libstatgrab-0.91.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=frob
+inherit autotools-utils
+
+DESCRIPTION="A tool to provide access to statistics about the system on which it's run"
+HOMEPAGE="http://www.i-scream.org/libstatgrab/"
+SRC_URI="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-2.1 )"
+SLOT=0
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86"
+IUSE="doc examples static-libs"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}"
+
+DOCS=( ChangeLog PLATFORMS NEWS AUTHORS README )
+
+PATCHES=( "${FILESDIR}"/${P}-tinfo.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --disable-setgid-binaries
+ --disable-setuid-binaries
+ --with-ncurses
+ $(use_enable static-libs static)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins -r examples/*
+ fi
+}
diff --git a/sys-libs/libstatgrab/metadata.xml b/sys-libs/libstatgrab/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/sys-libs/libstatgrab/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>