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 /x11-plugins/cputnik |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/cputnik')
-rw-r--r-- | x11-plugins/cputnik/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/cputnik/cputnik-0.2.0.ebuild | 36 | ||||
-rw-r--r-- | x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch | 24 | ||||
-rw-r--r-- | x11-plugins/cputnik/metadata.xml | 9 |
4 files changed, 75 insertions, 0 deletions
diff --git a/x11-plugins/cputnik/Manifest b/x11-plugins/cputnik/Manifest new file mode 100644 index 000000000000..ddec3ed52198 --- /dev/null +++ b/x11-plugins/cputnik/Manifest @@ -0,0 +1,6 @@ +AUX cputnik-0.2.0-makefile.patch 710 SHA256 6d9b7f42eefb5a8eac8320dcae50131294af2d1edf3ba81d6d46d384c9a6e54b SHA512 aad5f90f1e8717b539048ee8e0ba1260b7342c8a4f8e9b077b58e1c12b7f057c8f17bb17e94e3afd145dd4aeec746ccc94d339daef302b173f8a17baf565a9aa WHIRLPOOL 7c327e00da0772f1804382816b8cf5f13e369c9f681d9e49bab3a38550b2a1640ee9b83a5f2e97ce17646fe5d5bd267b2c2bf0a52d232420e8a3b48f8a0ef2a8 +DIST cputnik-0.2.0.tar.gz 17850 SHA256 b8a11fbfc5b1ce60cf8b50ad94e395aedf31c81d43ea1a0f277c4cac5c8b61df SHA512 829d9d63f82a2d41c0160be575b3fb7840a5c295c6dd16702240a6aa104e557bff83936c46243e850edf918b41ddc22fd123dab7f5ffd6492302d60c374df55f WHIRLPOOL a30221c4a1d69aac95510acbb8ccae905d9e0729150f8ce7fb7e61c0761158a1d8ef8680a1b8236235d9ca7e379ceca4ca8d45c7b75e9adbaca847ef73d951d4 +EBUILD cputnik-0.2.0.ebuild 758 SHA256 8487eb664d20b2ad0b3acc82a021c39ed6590de3756fee1190ab52ea04c99679 SHA512 21575f704e7c310ee0db6aa423e3cb5dc834a16913dacddada41e8ac1487b39442c40f3066ec72630ff7a77f5b28e4e56da313ab4290d1fc538bb1f6ce506d28 WHIRLPOOL fb93e2746fa3c018f34778b201253e4269ddb50b859a7ed793316d09fd7f93a524b73d0e2e7f3fd05afe283656789090e0df60c18903781ac228b3b770de5b4e +MISC ChangeLog 2925 SHA256 9629beca7fad4e2b057da3591b90f57dff498027b6df743550d31fed62df4116 SHA512 2b095f9e268026a3f58a86c773852e9750669833ca5cc910fc2b453f6929421193d149caa1f99d7f04dfb8a4730bb81309bc3a00f86f3bfbb6b0349677632bf7 WHIRLPOOL 5898627e18dcf8185ff862afa1ef32b3c1eb936dae26d7fea157c6e563bba9e5c14be5644772eceb061c9caab4e5d1ee79ca972240c1ccb86e15ff74487548e1 +MISC ChangeLog-2015 1566 SHA256 0e0f3000d6b72d7a180d78dbfe3c781e939ad1f7fb04e25680985e29c71eb6b8 SHA512 a8e1e47a3b143a1759e446536902d140740913d3a74af76fb392f5ae6b78207066d8cd0c0eea6a954b3b33e9848817128d7b8f9c4c6a9b13829b5506ccd2333a WHIRLPOOL 0a0ce8ea841a2c06520266d1b4b27816c0ef91e4cb38340da1fc37af5af05ae61635c32ba5e71dc33c5d925f093de1d61dc197fd420915dd904ba8717f4ef5e2 +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-plugins/cputnik/cputnik-0.2.0.ebuild b/x11-plugins/cputnik/cputnik-0.2.0.ebuild new file mode 100644 index 000000000000..5ec972c89f15 --- /dev/null +++ b/x11-plugins/cputnik/cputnik-0.2.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="cputnik is a simple cpu monitor dockapp" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/273" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/576/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die "Compilation failed" +} + +src_install() { + dobin cputnik || die "dobin failed." + dodoc ../{AUTHORS,NEWS,README} +} diff --git a/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch new file mode 100644 index 000000000000..1eb1279b3bb3 --- /dev/null +++ b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch @@ -0,0 +1,24 @@ +--- Makefile.orig 2005-03-26 22:29:48.000000000 +0100 ++++ Makefile 2008-01-27 19:43:33.000000000 +0100 +@@ -1,15 +1,15 @@ + +-CFLAGS = -Wall -Os +-INCS = -I/usr/X11R6/include/X11 +-LIBS = -L/usr/X11R6/lib -lXpm -lXext -lX11 +-INSTALL_PREFIX = /usr/local ++CFLAGS += -Wall ++INCS = -I/usr/include/X11 ++LIBS = -L/usr/lib -lXpm -lXext -lX11 ++INSTALL_PREFIX = /usr + + + all: cputnik.c docklib.o master.h mask.h +- gcc $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LIBS) ++ $(CC) $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LDFLAGS) $(LIBS) + + docklib.o: docklib.c docklib.h +- gcc $(CFLAGS) $(INCS) -c docklib.c ++ $(CC) $(CFLAGS) $(INCS) -c docklib.c + + install: + cp ./cputnik $(INSTALL_PREFIX)/bin diff --git a/x11-plugins/cputnik/metadata.xml b/x11-plugins/cputnik/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-plugins/cputnik/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +</pkgmetadata> |