diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/consolehm |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/consolehm')
-rw-r--r-- | app-admin/consolehm/Manifest | 6 | ||||
-rw-r--r-- | app-admin/consolehm/consolehm-1.31.ebuild | 45 | ||||
-rw-r--r-- | app-admin/consolehm/files/consolehm-gcc4.patch | 10 | ||||
-rw-r--r-- | app-admin/consolehm/metadata.xml | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/app-admin/consolehm/Manifest b/app-admin/consolehm/Manifest new file mode 100644 index 000000000000..5ef005579282 --- /dev/null +++ b/app-admin/consolehm/Manifest @@ -0,0 +1,6 @@ +AUX consolehm-gcc4.patch 250 SHA256 59cab73407d1311686629585eb893a3e704feb5aa9c963ad38acad859b8c1723 SHA512 d9d74aed3961073c2356ce30296635e000e8c9b0ab27b1b860d6a9ee30dd49c0e7ac9fea8c4f21118c36e3973ede0a07b14afd6da2506a0762fdafb89abcccbb WHIRLPOOL 46729edd95491d9c1969d14592549310898a8cf986a7757c912f290799a3b4bd5ed72abb015bbd54fb92cfaf1c7350520e99b9b64ad134fc2fcead141077864a +DIST consolehm-1.31.tar.gz 21615 SHA256 121bdc1f50f06e7a751bf1aee9d3d7d36415b234a524af6b6f626dcf5b9d5ef6 SHA512 595a5808bf85b878254e10fbe9a7beccffb4e5a35e03fe9fbea710963733fb4d6afe6fe6b70b30fa2b4fd565ed4ac1ffcca624b6717cc3b6d900960e7e6001f8 WHIRLPOOL 81d90880049acb338d4e94b00afcf88f7b897b60377dcb3a1844785d456483cdf1e079692aca387168246b5e945936feaa54759f3df4aaf5d67bedc15ddac577 +EBUILD consolehm-1.31.ebuild 1019 SHA256 92b4ece23f47bdac1bbfd57b23225dfa5aa80b00d8d9e035b1fd51fd06a7d6ab SHA512 edbe7c63cf0af49f366936dbdb8f0025774b38cc138fb0b3653d1dd7e4bee3b8fda98186cd298fe1692aa0f3bc040f6be68d471085f2201e433ec5d89872d0d4 WHIRLPOOL 7b97040eb28da1e714e53cc993e6cd35fdde1245591807e7d46699c5eefa5d5670eceacea53c251f622b43cf5ff46ce9bd59bd2864c79f5ed6cbd03d402552fc +MISC ChangeLog 2461 SHA256 4284aacdada1c6e3a8f9402a670702ab3f619fd05939a76a784f3f85e860db3b SHA512 a2f781e789813c1c5a5e0b365ff3d8eabbc98b4d95436cf6a8d3feb8e7bc6046a45e71734a9e55f177f7516522cae34189f410e79b11491c0330d03c21f6781f WHIRLPOOL 68567326da7ee8cdb2b4dfcdac4d87de9808056e49a5efc36cd2874a788c9b0c03e55e2a64831a904f7843230b88d4adbed45caa57cd46fd3f61956d2803a344 +MISC ChangeLog-2015 515 SHA256 2283e1e3bdd7dfb37e6dafb6bd2b8aee9dce20d0445a01c2aaddcb06fa879ed3 SHA512 7971479f0bcdf28fbcef7177e3daa8560d8188dcbf342f5f215de75bb8a14af07dcfa684f55cf0e45e31a13ca72511458e094d0cb8a4edf815eddc5f4e51d572 WHIRLPOOL 97a904d542227c7d360e4f702f3a8d00e4287dbcde8456b55f0d2fcf79b9b623bc5a1c6744f681ee5c0a3ba3f4f2889bb14cd6efdb2059b81c52bec6d7501925 +MISC metadata.xml 238 SHA256 501d93b0c41ed422505100f002758cd173cd9783ae7fbb53e2ec5f238c868340 SHA512 173efaa53a514acf1e2f0c6681c82a48ec16d505844f551d2cc823ee8685b27837c7461f7956c12182059ee7e83023e2f0bcd5d1afab74beeaf998487193656d WHIRLPOOL 4ca51d994f011a5e7e4939f02a54b5c2f9f3e526665893c9ac2876c9871b7dc80361393d41c5247b3a5520e82d31d0dd10da520e7715c94b806a94ce0fed2a5a diff --git a/app-admin/consolehm/consolehm-1.31.ebuild b/app-admin/consolehm/consolehm-1.31.ebuild new file mode 100644 index 000000000000..a0dda68d8469 --- /dev/null +++ b/app-admin/consolehm/consolehm-1.31.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Console based hardware monitor for FreeBSD" +HOMEPAGE="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/" +SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/fenner/${P}.tar.gz" +LICENSE="BSD-2" +SLOT="0" + +KEYWORDS="~x86-fbsd" + +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${PN}-gcc4.patch || die "patch failed" + export CHMS="${S}/consolehm" + # The only 'SMBus' smb.h i've found is in a different place: + cd "${S}/consolehm" + sed -i.orig -e 's:machine/smb.h:dev/smbus/smb.h:g' \ + configure.in \ + configure \ + chm.h || die "sed failed." +} + +src_compile() { + cd "${S}/consolehm" + econf || die "econf failed" + MAKE=make emake || die "emake failed" +} + +src_install() { + dobin "${S}/consolehm/chm" + doman "${S}/consolehm/chm.8" + dodoc "${S}"/CHANGELOG + dodoc "${S}"/README + dodoc "${S}"/TODO +} diff --git a/app-admin/consolehm/files/consolehm-gcc4.patch b/app-admin/consolehm/files/consolehm-gcc4.patch new file mode 100644 index 000000000000..85f677a29cbf --- /dev/null +++ b/app-admin/consolehm/files/consolehm-gcc4.patch @@ -0,0 +1,10 @@ +--- consolehm/consolehm/chm.c.orig 2000-12-23 03:51:45 -0300 ++++ consolehm/consolehm/chm.c 2007-01-12 11:18:27 -0300 +@@ -165,6 +165,7 @@ + printf("Delay: %d microseconds. \n\n",delay); + break; + default: ++ ;; + } + + file_handle = OpenIO(); diff --git a/app-admin/consolehm/metadata.xml b/app-admin/consolehm/metadata.xml new file mode 100644 index 000000000000..a00f3aeb1f81 --- /dev/null +++ b/app-admin/consolehm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>bsd@gentoo.org</email> + <name>BSD Project</name> +</maintainer> +</pkgmetadata> |