diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-04-25 15:48:10 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-04-25 15:48:10 +0000 |
commit | 09e1de632d99acf1a63a04dc76498a83c2b1916c (patch) | |
tree | a74cf52cd990abc9af7076a9a0bdeaf80c566986 /sys-process | |
parent | Fix deprecation warnings. (diff) | |
download | historical-09e1de632d99acf1a63a04dc76498a83c2b1916c.tar.gz historical-09e1de632d99acf1a63a04dc76498a83c2b1916c.tar.bz2 historical-09e1de632d99acf1a63a04dc76498a83c2b1916c.zip |
New addition, thanks Jiri Tyr for first ebuild, #242208
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/psinfo/ChangeLog | 10 | ||||
-rw-r--r-- | sys-process/psinfo/Manifest | 15 | ||||
-rw-r--r-- | sys-process/psinfo/files/psinfo-0.12-asneeded.patch | 36 | ||||
-rw-r--r-- | sys-process/psinfo/metadata.xml | 8 | ||||
-rw-r--r-- | sys-process/psinfo/psinfo-0.12.ebuild | 32 |
5 files changed, 101 insertions, 0 deletions
diff --git a/sys-process/psinfo/ChangeLog b/sys-process/psinfo/ChangeLog new file mode 100644 index 000000000000..255dc0832d62 --- /dev/null +++ b/sys-process/psinfo/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-process/psinfo +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/psinfo/ChangeLog,v 1.1 2011/04/25 15:48:10 jlec Exp $ + +*psinfo-0.12 (25 Apr 2011) + + 25 Apr 2011; Justin Lecher <jlec@gentoo.org> +psinfo-0.12.ebuild, + +files/psinfo-0.12-asneeded.patch, +metadata.xml: + New addition, thanks Jiri Tyr for first ebuild, #242208 + diff --git a/sys-process/psinfo/Manifest b/sys-process/psinfo/Manifest new file mode 100644 index 000000000000..8e97ee07fa10 --- /dev/null +++ b/sys-process/psinfo/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX psinfo-0.12-asneeded.patch 1173 RMD160 9d832d26609637b95590ad017c45cd72217c9f8e SHA1 f65343d734ba9a5169ab51d0e893bb4d58e16ef4 SHA256 d3975e6c163eb2189acec10d54d4cb942450b05fa00e6d85040769d2278de133 +DIST psinfo-0.12.tar.gz 9107 RMD160 24185c1dd77bc8ea81345182895718bc7852fc1d SHA1 991dabc002420bede6c0866109221ee6892ac2ec SHA256 2c1ad9a76eb91c92f79c859b9058f673fabc6cfc2b0a752db392fc5afd8a3aa1 +EBUILD psinfo-0.12.ebuild 725 RMD160 cdc67ad91294abefc8c6ed2b099f8e5c36b8be70 SHA1 716fb0b53cae467eae19e134569a88453c359850 SHA256 c3227b89a13ce88a31443acca7e7261a0df5109092bdcbbcf1f0657ced172480 +MISC ChangeLog 414 RMD160 ac589415b6cbb3188a9120cbfb1d0c7246af9264 SHA1 4b8c18406dfacc394cf146c5e7a767c156e96d77 SHA256 740a083f0e17f572104ebbe5bd068d6adfe87468cd8636273b86b97ed8be37ab +MISC metadata.xml 220 RMD160 435928b54535666360b3bf96aaa03430383339b8 SHA1 72650d93162578d87307bdef5caf72c5ee15c97a SHA256 e08cbf772d3bdb38ef895160c6573fdd3b1e81aea8f85a8cef84f5964d578fc4 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk21l78ACgkQgAnW8HDreRbFjgCdGwbTkjTCUHP5uLrYXEqhp5O7 +2xMAn2BvRJAdAFgh2nOqjmT4bNyIS+1/ +=4qOs +-----END PGP SIGNATURE----- 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..9aa75ad4091e --- /dev/null +++ b/sys-process/psinfo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sys-process/psinfo/psinfo-0.12.ebuild b/sys-process/psinfo/psinfo-0.12.ebuild new file mode 100644 index 000000000000..a0278348801a --- /dev/null +++ b/sys-process/psinfo/psinfo-0.12.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/psinfo/psinfo-0.12.ebuild,v 1.1 2011/04/25 15:48:10 jlec Exp $ + +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 +#} |