diff options
author | 2010-01-01 07:10:41 -0500 | |
---|---|---|
committer | 2010-01-01 07:44:46 -0500 | |
commit | d3f3250ebaa21359c9ab108395dd37df3bb3ca89 (patch) | |
tree | 3deb2e62839f73e993a784a6734180fe69e132a6 | |
parent | Add xdotool as a dependency. (diff) | |
download | eatnumber1-d3f3250ebaa21359c9ab108395dd37df3bb3ca89.tar.gz eatnumber1-d3f3250ebaa21359c9ab108395dd37df3bb3ca89.tar.bz2 eatnumber1-d3f3250ebaa21359c9ab108395dd37df3bb3ca89.zip |
Add compcache-tools ebuild
-rw-r--r-- | sys-block/compcache-tools/Manifest | 3 | ||||
-rw-r--r-- | sys-block/compcache-tools/compcache-tools-0.6.ebuild | 36 | ||||
-rw-r--r-- | sys-block/compcache-tools/files/compcache-tools-0.6_gentoo.patch | 10 |
3 files changed, 49 insertions, 0 deletions
diff --git a/sys-block/compcache-tools/Manifest b/sys-block/compcache-tools/Manifest new file mode 100644 index 0000000..7970e19 --- /dev/null +++ b/sys-block/compcache-tools/Manifest @@ -0,0 +1,3 @@ +EBUILD compcache-tools-0.6.ebuild 646 RMD160 c92d90af181585c03aa58885c628d7e4726969ba SHA1 b47d950744850a2157a7308b4194274a7b862620 SHA256 ff884a763b9382a6dacac14fa96d4196f4de05043a283ebf4f12a391e5218693 +AUX compcache-tools-0.6_gentoo.patch 482 RMD160 cdbe4ec6250801fda0aec7ec57df6985221ec2eb SHA1 2449d1d0c9bd588521681c19f5a191c3bc521315 SHA256 790a860f39d77a0a6b81f4f343c780cb3f685c1ad5721cd8c2a94e8313187a6d +DIST compcache-0.6.tar.gz 33881 RMD160 3305a428247d7e187a43fba84104ff0ca8ff2daf SHA1 4e9bada83a32654bcb18a8dc5830a13c43848547 SHA256 e5f697be6c1b7bfb9ac9ba5b8d836ff20f880c161f998c482caba83caf443c0c diff --git a/sys-block/compcache-tools/compcache-tools-0.6.ebuild b/sys-block/compcache-tools/compcache-tools-0.6.ebuild new file mode 100644 index 0000000..98e0703 --- /dev/null +++ b/sys-block/compcache-tools/compcache-tools-0.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils toolchain-funcs + +MY_P="${P/-tools/}" +DESCRIPTION="Compressed in-memory swap device for Linux" +HOMEPAGE="http://code.google.com/p/compcache/" +SRC_URI="http://compcache.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}/sub-projects/rzscontrol" + +src_prepare() { + epatch "${FILESDIR}/${P}_gentoo.patch" +} + +src_compile() { + tc-export CC + default +} + +src_install() { + dobin rzscontrol || die + doman man/rzscontrol.1 || die +} diff --git a/sys-block/compcache-tools/files/compcache-tools-0.6_gentoo.patch b/sys-block/compcache-tools/files/compcache-tools-0.6_gentoo.patch new file mode 100644 index 0000000..9c454b1 --- /dev/null +++ b/sys-block/compcache-tools/files/compcache-tools-0.6_gentoo.patch @@ -0,0 +1,10 @@ +diff -ur a/sub-projects/rzscontrol/Makefile b/sub-projects/rzscontrol/Makefile +--- a/sub-projects/rzscontrol/Makefile 2009-08-18 20:10:04.000000000 -0400 ++++ b/sub-projects/rzscontrol/Makefile 2010-01-01 07:17:16.659296141 -0500 +@@ -1,5 +1,5 @@ + all: +- @gcc -g -Wall -D_GNU_SOURCE rzscontrol.c -o rzscontrol -I ../include -I../.. ++ $(CC) $(CFLAGS) -Wall -D_GNU_SOURCE rzscontrol.c -o rzscontrol -I ../include -I../.. $(LDFLAGS) + + doc: + @xmllint --noout --valid man/rzscontrol.xml |