From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-process/psinfo/Manifest | 6 ++++ .../psinfo/files/psinfo-0.12-asneeded.patch | 36 ++++++++++++++++++++++ sys-process/psinfo/metadata.xml | 8 +++++ sys-process/psinfo/psinfo-0.12.ebuild | 31 +++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 sys-process/psinfo/Manifest create mode 100644 sys-process/psinfo/files/psinfo-0.12-asneeded.patch create mode 100644 sys-process/psinfo/metadata.xml create mode 100644 sys-process/psinfo/psinfo-0.12.ebuild (limited to 'sys-process/psinfo') diff --git a/sys-process/psinfo/Manifest b/sys-process/psinfo/Manifest new file mode 100644 index 000000000000..94fd66ea21b7 --- /dev/null +++ b/sys-process/psinfo/Manifest @@ -0,0 +1,6 @@ +AUX psinfo-0.12-asneeded.patch 1173 SHA256 d3975e6c163eb2189acec10d54d4cb942450b05fa00e6d85040769d2278de133 SHA512 26e70733df993fc0614027c7c2abd02d4b900e5003211148e2c303476c1fd6f5dcb7e0c76b09dc90c1cca9663bf8ee1a14d999ab6aed5a96c8c40691e7ac1d7f WHIRLPOOL 6c45f88dc22e91f58fefe5cf957bc9972a8b71c86c19918586f06afb669d918c141ed82b4dfc981cf4ac3435eaf841b570802dcd58774c03ffecc4afd3b40c7f +DIST psinfo-0.12.tar.gz 9107 SHA256 2c1ad9a76eb91c92f79c859b9058f673fabc6cfc2b0a752db392fc5afd8a3aa1 SHA512 481743c9b8112fa34779bcdeb12d84a1445a4e4c105161d9a9927fe920e5c4f190dc3e03cb65d9978538cb3d4102983af7e290d31c809a1efa0f6c871064c62f WHIRLPOOL 378fd789b4fd8fb6822d0857c3865fdcef8a1b7e58feb709e28a5b197eefbe8924e9c077dd5e11b0d227b1df10f0815231497cf91fdb2c265f735b52a0ec9cd9 +EBUILD psinfo-0.12.ebuild 615 SHA256 5b10ddb1d0d5013be11aaa0eb8d6f0fe5abd677efc9d68f5f3e19489cdb12d9a SHA512 88ba397bacc382c0e08ab30aed9331955ab93c25d20d5a0a01df904d2b14f7bd994b0b3d38265706225f21972c8824281c4dca76a576e76eeea5650817c7eab1 WHIRLPOOL 2dd74fd28b016306c690b4685270abb5360d4ad30fc9f4881bbfb408ba11931876c370c84c7163ebfd9cdf048b2b2d020b900c63ba126e625c2738de6eb21e0c +MISC ChangeLog 2600 SHA256 f88de3c0578df3ff0306a1dfcdb26b192c671bb62236e02f997b0beb2c0a9c57 SHA512 a81ce918a177a0216c6e44e23efe2a3834e8a7e0b30ce68f6a893d7b814e16cd88202999e7172849d484f14023a035eef547679ffbd72cd5da65ffeb6921ad0f WHIRLPOOL 72242167b0e2133f442c1e48aac48be718bddf187de148595e3bb96da7c10ef2c8d151eef6f56820ae7b9e9de5067f4fb6cd8b244c926d6a2ece380b5fd4b514 +MISC ChangeLog-2015 414 SHA256 740a083f0e17f572104ebbe5bd068d6adfe87468cd8636273b86b97ed8be37ab SHA512 5d3897fa10bccfe201103f90f4ddce82b2a231dbb648a76d1270323e3dc60d534627871241cc62f54dab019db17f278e202635926fc30f0e8fbec31f60bec5af WHIRLPOOL ab71ab2a861a97d2afee2666101fb28fc05d15532344b3b9d44536eafbc789a6c01fd3bdb01f3a359e029c63ca6fd9aef66d19f317f68779728314cd58a0accd +MISC metadata.xml 261 SHA256 fb9f18027aca4a5ba2a667473e25e22b0f997c3e06c6c52fc5fe288a68c7f9a4 SHA512 714bffc43ca20bdd43a5039acceab4c92e78861b8f75e7eda27c7940fa527716a6f4a8373d610976c5b20b55f0ff08280fb2571274d0716e7e4a097e076a3df3 WHIRLPOOL e45e618a3fbc000232b38d88d7f849de1d890aa44d93ba812b6857146b42cbeee3e4427694e34ef83d4cb768740ec43c9950bda6b91b7520e846486118466ff7 diff --git a/sys-process/psinfo/files/psinfo-0.12-asneeded.patch b/sys-process/psinfo/files/psinfo-0.12-asneeded.patch new file mode 100644 index 000000000000..97cfd7f817fb --- /dev/null +++ b/sys-process/psinfo/files/psinfo-0.12-asneeded.patch @@ -0,0 +1,36 @@ + Makefile | 17 ++++++++++------- + 1 files changed, 10 insertions(+), 7 deletions(-) + +diff --git a/Makefile b/Makefile +index 2964607..fb4ece8 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,10 +1,10 @@ +-CC=gcc +-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wshadow -Wcast-align -Wno-unused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls ++CC ?=gcc ++CFLAGS ?=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wshadow -Wcast-align -Wno-unused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls + INSTALL=install +-LDFLAGS= ++LDFLAGS ?= + SOURCES=psinfo.c + EXECUTABLE=psinfo +-TARGETDIR=/usr/local/bin ++TARGETDIR=/usr/bin + + all: $(EXECUTABLE) + +@@ -12,7 +12,10 @@ clean: + rm -f $(EXECUTABLE) + + install: $(EXECUTABLE) +- $(INSTALL) -m 755 psinfo $(TARGETDIR) ++ $(INSTALL) -D -m 755 psinfo $(DESTDIR)/$(TARGETDIR)/$(EXECUTABLE) + +-$(EXECUTABLE): $(SOURCES) +- $(CC) $(CFLAGS) -o $@ $(SOURCES) $(LDFLAGS) ++$(EXECUTABLE): psinfo.o ++ $(CC) $(LDFLAGS) -o $@ psinfo.o ++ ++psinfo.o: psinfo.c ++ $(CC) $(CFLAGS) -c psinfo.c diff --git a/sys-process/psinfo/metadata.xml b/sys-process/psinfo/metadata.xml new file mode 100644 index 000000000000..5ba39f7258f4 --- /dev/null +++ b/sys-process/psinfo/metadata.xml @@ -0,0 +1,8 @@ + + + + + shell-tools@gentoo.org + Gentoo Shell Tools Project + + diff --git a/sys-process/psinfo/psinfo-0.12.ebuild b/sys-process/psinfo/psinfo-0.12.ebuild new file mode 100644 index 000000000000..7276412c5a68 --- /dev/null +++ b/sys-process/psinfo/psinfo-0.12.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Process information and statistics using the kernel /proc interface" +HOMEPAGE="http://www.ward.nu/computer/psinfo/" +SRC_URI="http://www.ward.nu/computer/${PN}/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-2" +IUSE="" + +src_prepare () { + epatch "${FILESDIR}"/${P}-asneeded.patch + tc-export CC +} + +#src_compile() { +# emake \ +# CFLAGS="${CFLAGS}" \ +# CC=$(tc-getCC) +#} + +#src_install() { +# dobin ${PN} +# dodoc README +#} -- cgit v1.2.3