diff options
-rw-r--r-- | sys-apps/collectl/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/collectl/collectl-4.1.3.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-apps/collectl/Manifest b/sys-apps/collectl/Manifest index fa6d59a5ad00..4de4f7657de2 100644 --- a/sys-apps/collectl/Manifest +++ b/sys-apps/collectl/Manifest @@ -1,3 +1,4 @@ DIST collectl-3.7.4.src.tar.gz 462752 SHA256 798657b8e3626e9e4ed6fe5ae44b8216da49f0bc4bbda52217d2a304e3d7e108 SHA512 f25686fe977e0a3ea45a1980eea87baaa92a2d81ec308838c137d181e2bf182df6cdf453c5c6e7f3f0b2ccd3066d17ab9c4137303b587f55303dd4afe7ae35da WHIRLPOOL e017e293348644d922547bc99904e5434c0286b8b332509cb062ac92c6a11ff8af2a4ceb275fe82dd9dda11c7774ab9e2e344c9ca5a2d6d25b036a3dab893db0 DIST collectl-4.0.5.src.tar.gz 624040 SHA256 77839c6132c2ebb0b3c941163337bc31468e2744dd4c3fb99e85e5ba4e6f070c SHA512 a7bcc8c100f4aa1bc24b6f65bf1271ae3757dc37adba67982e85a7159faa9c1ea912553e5e918a79b95cf2ec1126094abad0a654e343a9be940ad11c4cdcc42c WHIRLPOOL 8bb38433de5a2c9347599c53a2fe06fabc756238feb3def759c726f82a702b0939d54ff296114552cfee7419ae116a867d91258e897e6cfe872a2928030a932f DIST collectl-4.1.0.src.tar.gz 625147 SHA256 e50d2c6946b0ed243136f02c18a64b47402f64ee912cf2fef4c37f9f00d65770 SHA512 b74918e458f4e7e9c6b598b078ef9522ba307b0055c0488167785d226f74a960bd075804128caef756d40a9c5a3f0189e912984c1b0c9bf62c537921e94714c5 WHIRLPOOL 7cb82bd13859ba561ed59e65686c6294f36c4d98957b83856e41e99adf8a6ac9f84eb36706752323d00e393b43eb7c9fd325dcd50f1251d027c3b32445fb0968 +DIST collectl-4.1.3.src.tar.gz 634862 SHA256 c9fa7e4a66fe333471bd485a8008b171fdf431faa79d9b43fa830ae7d6c85bb3 SHA512 2938f349708dba164915fd44e7c2a58cc5088e3bafa9009c82973d5f03f8f62395cde925c6e3c1d49c6e22b653a7d1be352ec70dbabcc68b68fb3a795c1b5da8 WHIRLPOOL 2fd065be105f17f82d3ff3d85fd2508d3e86f6fc4272b5f84888390c8a76fd2d223dbb79c28701044561d8d2d2ce6f36da082871f0149c94f3486ab8a3dad8bd diff --git a/sys-apps/collectl/collectl-4.1.3.ebuild b/sys-apps/collectl/collectl-4.1.3.ebuild new file mode 100644 index 000000000000..28cbb8d9b7ce --- /dev/null +++ b/sys-apps/collectl/collectl-4.1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="light-weight performance monitoring tool capable of reporting interactively and logging to disk" +HOMEPAGE="http://collectl.sourceforge.net/" +SRC_URI="mirror://sourceforge/collectl/${P}.src.tar.gz" + +LICENSE="GPL-2 Artistic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.8.8 + virtual/perl-Time-HiRes + >=dev-perl/Archive-Zip-1.20 + sys-apps/ethtool + sys-apps/pciutils" + +src_prepare() { + sed -i INSTALL -e "/^DOCDIR/s:doc/collectl:doc/${PF}:" || die +} + +src_install() { + DESTDIR="${D}" bash -ex ./INSTALL || die + + rm "${D}"/etc/init.d/* || die + newinitd "${FILESDIR}"/collectl.initd-2 collectl + + rm "${D}"/usr/share/${PN}/UNINSTALL || die + + cd "${D}"/usr/share/doc/${PF} || die + dohtml * + rm ARTISTIC GPL COPYING *.html *.jpg *.css || die +} |