summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2009-12-07 21:35:51 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2009-12-07 21:35:51 +0900
commite08ff9db926f14ffc9cc507af5097c709831f2d6 (patch)
tree74cf1ac667edb585f628b5bc00dd2e778583ccb8
parentx11-misc/winwrangler: removed (diff)
downloadmatsuu-e08ff9db926f14ffc9cc507af5097c709831f2d6.tar.gz
matsuu-e08ff9db926f14ffc9cc507af5097c709831f2d6.tar.bz2
matsuu-e08ff9db926f14ffc9cc507af5097c709831f2d6.zip
sys-block/compcache: Version bumped.
-rw-r--r--sys-block/compcache/Manifest9
-rw-r--r--sys-block/compcache/compcache-0.5.3.ebuild35
-rw-r--r--sys-block/compcache/compcache-0.6.ebuild (renamed from sys-block/compcache/compcache-0.6_pre2.ebuild)25
-rw-r--r--sys-block/compcache/compcache-0.6_pre3.ebuild43
-rw-r--r--sys-block/compcache/compcache-9999.ebuild42
5 files changed, 56 insertions, 98 deletions
diff --git a/sys-block/compcache/Manifest b/sys-block/compcache/Manifest
index 87c58d2..bf15654 100644
--- a/sys-block/compcache/Manifest
+++ b/sys-block/compcache/Manifest
@@ -1,6 +1,3 @@
-DIST compcache-0.5.3.tar.gz 28399 RMD160 3c2879d1ba2b2d410da09344d05b76208e463ce2 SHA1 670f8432bc97dd17871f4281d747ac89ee0933bf SHA256 7c8fe0bf51c4ce4c49e1883d57e4df6e0f36018237f164a04ebfad00b7ce076f
-DIST compcache-0.6pre2.tar.gz 32713 RMD160 e2a8fcbc4dbf17726fc18d53a24adf6fc9d9fbd4 SHA1 e4672608e9a9fe9f15f68dbf0c16405de5baa2ae SHA256 2d4cd8303c953e6a90cf5f2996c9bef4209e3cea5497ff99418202811b778ac3
-DIST compcache-0.6pre3.tar.gz 33882 RMD160 ee672e354c1148b617dbb29b31c81456bd8c8dec SHA1 6912be8135921a31549a6809b3d913440143b2df SHA256 3e54f26665bd1b7ece4e4621a15f82da66a95bafd04286d447be5a596790a7db
-EBUILD compcache-0.5.3.ebuild 994 RMD160 7773fc7e911863179902b53066f682340efe9b4e SHA1 bbd323c2b4b90bab2ac350a45e456d303d13ca78 SHA256 7420a15513f3b55220c5ea79dbb60e62a3e7939af0019267c86ceee1d1f569db
-EBUILD compcache-0.6_pre2.ebuild 1132 RMD160 65e4cf1edef3d09986d6aa820d245d9bcd50ad9a SHA1 8a8999d85113a4e72327a5ef9e440ba437a21f39 SHA256 fa98937325d8e0c00bc754ec320eb5ce0eed183f910b60d55d3d8ad6dd38082f
-EBUILD compcache-0.6_pre3.ebuild 1132 RMD160 65e4cf1edef3d09986d6aa820d245d9bcd50ad9a SHA1 8a8999d85113a4e72327a5ef9e440ba437a21f39 SHA256 fa98937325d8e0c00bc754ec320eb5ce0eed183f910b60d55d3d8ad6dd38082f
+DIST compcache-0.6.tar.gz 33881 RMD160 3305a428247d7e187a43fba84104ff0ca8ff2daf SHA1 4e9bada83a32654bcb18a8dc5830a13c43848547 SHA256 e5f697be6c1b7bfb9ac9ba5b8d836ff20f880c161f998c482caba83caf443c0c
+EBUILD compcache-0.6.ebuild 1099 RMD160 4f8850a7740a7233ff9b63afe14adb738f7e8c68 SHA1 06d388559128bb1807910665d6a24593c6888496 SHA256 60725c8867c41502acb42fdd47b3ebbc58f9d6e71b97582213b10512026cdd50
+EBUILD compcache-9999.ebuild 1101 RMD160 e13ff6cd525bf311b2ed52964632aa5e92b6a5d0 SHA1 5b40e3c5d0f53c15824ddab4209814db55347b74 SHA256 6a4f9224363053c2e1efa2b71755a1741e1d142604f5a5b95e792513ce7b5696
diff --git a/sys-block/compcache/compcache-0.5.3.ebuild b/sys-block/compcache/compcache-0.5.3.ebuild
deleted file mode 100644
index fad263d..0000000
--- a/sys-block/compcache/compcache-0.5.3.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit linux-mod versionator
-
-MY_P="${PN}-$(delete_version_separator '_')"
-
-DESCRIPTION="Compressed RAM as fast swap"
-HOMEPAGE="http://compcache.googlecode.com"
-SRC_URI="http://compcache.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=virtual/linux-sources-2.6"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-BUILD_PARAMS='KV_OUT_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="all"
-CONFIG_CHECK="LZO_COMPRESS LZO_DECOMPRESS" # CRYPTO_LZO
-MODULE_NAMES="ramzswap(compcache:${S}:${S})
- xvmalloc(:${S}:${S}/sub-projects/allocators/xvmalloc-kmod)"
-MODULESD_RAMZSWAP_DOCS="Changelog README unuse_ramzswap.sh use_ramzswap.sh"
-MODULESD_XVMALLOC_ENABLED="no"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's#/lib/modules/$(shell uname -r)/build#"$(KV_OUT_DIR)"#' \
- Makefile sub-projects/allocators/xvmalloc-kmod/Makefile || die
-}
diff --git a/sys-block/compcache/compcache-0.6_pre2.ebuild b/sys-block/compcache/compcache-0.6.ebuild
index e3db69c..091f08a 100644
--- a/sys-block/compcache/compcache-0.6_pre2.ebuild
+++ b/sys-block/compcache/compcache-0.6.ebuild
@@ -2,13 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit linux-mod versionator
-
-MY_P="${PN}-$(delete_version_separator '_')"
+EAPI="2"
+inherit linux-mod
DESCRIPTION="Compressed RAM as fast swap"
-HOMEPAGE="http://compcache.googlecode.com"
-SRC_URI="http://compcache.googlecode.com/files/${MY_P}.tar.gz"
+HOMEPAGE="http://compcache.googlecode.com/"
+SRC_URI="http://compcache.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~x86"
@@ -17,20 +16,20 @@ IUSE=""
DEPEND=">=virtual/linux-sources-2.6"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
-
BUILD_PARAMS='KV_OUT_DIR="${KV_OUT_DIR}"'
BUILD_TARGETS="all"
CONFIG_CHECK="LZO_COMPRESS LZO_DECOMPRESS" # CRYPTO_LZO
MODULE_NAMES="ramzswap(compcache:${S}:${S})
xvmalloc(:${S}:${S}/sub-projects/allocators/xvmalloc-kmod)"
+MODULESD_RAMZSWAP_DOCS="Changelog README load_modules.sh unload_modules.sh"
+MODULESD_RAMZSWAP_EXAMPLES=('NUM_DEVICES="1"')
MODULESD_XVMALLOC_ENABLED="no"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's#/lib/modules/$(shell uname -r)/build#"$(KV_OUT_DIR)"#' \
- Makefile sub-projects/allocators/xvmalloc-kmod/Makefile || die
+src_prepare() {
+ find . -name Makefile -exec sed -i \
+ -e 's:make:$(MAKE):g' \
+ -e 's#/lib/modules/$(shell uname -r)/build#"$(KV_OUT_DIR)"#' \
+ {} \; || die
}
src_install() {
@@ -38,6 +37,4 @@ src_install() {
dosbin sub-projects/rzscontrol/rzscontrol || die
doman sub-projects/rzscontrol/man/rzscontrol.1 || die
-
- dodoc Changelog README load_modules.sh unload_modules.sh || die
}
diff --git a/sys-block/compcache/compcache-0.6_pre3.ebuild b/sys-block/compcache/compcache-0.6_pre3.ebuild
deleted file mode 100644
index e3db69c..0000000
--- a/sys-block/compcache/compcache-0.6_pre3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit linux-mod versionator
-
-MY_P="${PN}-$(delete_version_separator '_')"
-
-DESCRIPTION="Compressed RAM as fast swap"
-HOMEPAGE="http://compcache.googlecode.com"
-SRC_URI="http://compcache.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=virtual/linux-sources-2.6"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-BUILD_PARAMS='KV_OUT_DIR="${KV_OUT_DIR}"'
-BUILD_TARGETS="all"
-CONFIG_CHECK="LZO_COMPRESS LZO_DECOMPRESS" # CRYPTO_LZO
-MODULE_NAMES="ramzswap(compcache:${S}:${S})
- xvmalloc(:${S}:${S}/sub-projects/allocators/xvmalloc-kmod)"
-MODULESD_XVMALLOC_ENABLED="no"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's#/lib/modules/$(shell uname -r)/build#"$(KV_OUT_DIR)"#' \
- Makefile sub-projects/allocators/xvmalloc-kmod/Makefile || die
-}
-
-src_install() {
- linux-mod_src_install
-
- dosbin sub-projects/rzscontrol/rzscontrol || die
- doman sub-projects/rzscontrol/man/rzscontrol.1 || die
-
- dodoc Changelog README load_modules.sh unload_modules.sh || die
-}
diff --git a/sys-block/compcache/compcache-9999.ebuild b/sys-block/compcache/compcache-9999.ebuild
new file mode 100644
index 0000000..c726331
--- /dev/null
+++ b/sys-block/compcache/compcache-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit linux-mod mercurial
+
+DESCRIPTION="Compressed RAM as fast swap"
+HOMEPAGE="http://compcache.googlecode.com/"
+SRC_URI=""
+#SRC_URI="http://compcache.googlecode.com/files/${P}.tar.gz"
+EHG_REPO_URI="https://compcache.googlecode.com/hg/"
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/linux-sources-2.6"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/hg"
+
+BUILD_PARAMS='KV_OUT_DIR="${KV_OUT_DIR}"'
+BUILD_TARGETS="all"
+CONFIG_CHECK="LZO_COMPRESS LZO_DECOMPRESS" # CRYPTO_LZO
+MODULE_NAMES="ramzswap(compcache:${S}:${S})"
+MODULESD_RAMZSWAP_DOCS="Changelog README load_modules.sh unload_modules.sh"
+MODULESD_RAMZSWAP_EXAMPLES=('num_devices="1"')
+
+src_prepare() {
+ find . -name Makefile -exec sed -i \
+ -e 's:make:$(MAKE):g' \
+ -e 's#/lib/modules/$(shell uname -r)/build#"$(KV_OUT_DIR)"#' \
+ {} \; || die
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dosbin sub-projects/rzscontrol/rzscontrol || die
+ doman sub-projects/rzscontrol/man/rzscontrol.1 || die
+}