diff options
author | 2008-05-17 06:05:08 -0400 | |
---|---|---|
committer | 2008-05-17 06:05:08 -0400 | |
commit | 6d98fa3f280333f04c0556eacb1bea7a95fece17 (patch) | |
tree | bda98a0b465b649eb86b394985621812672895dc /sys-block | |
download | eatnumber1-6d98fa3f280333f04c0556eacb1bea7a95fece17.tar.gz eatnumber1-6d98fa3f280333f04c0556eacb1bea7a95fece17.tar.bz2 eatnumber1-6d98fa3f280333f04c0556eacb1bea7a95fece17.zip |
Initial commit of Gentoo overlay.
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/compcache/Manifest | 3 | ||||
-rw-r--r-- | sys-block/compcache/compcache-0.3.ebuild | 47 | ||||
-rw-r--r-- | sys-block/compcache/compcache-9999.ebuild | 42 |
3 files changed, 92 insertions, 0 deletions
diff --git a/sys-block/compcache/Manifest b/sys-block/compcache/Manifest new file mode 100644 index 0000000..f64b734 --- /dev/null +++ b/sys-block/compcache/Manifest @@ -0,0 +1,3 @@ +DIST compcache-0.3.tar.gz 17381 RMD160 28d7b331e069950792a8f6234644f450f99d95b2 SHA1 527c20313dcda89436094c2d5d8d44e196a0a5ef SHA256 3f3e346a37c733cb01bb6be83206ff18b41b38e75c8b928b4303477036ded307 +EBUILD compcache-0.3.ebuild 1069 RMD160 36aea7eef515b483fbe565caef20547b9754081e SHA1 4b23c6fa8a4d59ada2346f08fbdbcfb8761c378a SHA256 0afb4e24ccb886ff3da2f7ba2cdf9209ed3dedf5bb78a917139ce7b01bde3df9 +EBUILD compcache-9999.ebuild 1032 RMD160 1e33a0fedbbed37d6a0961e766913ad09e7324c7 SHA1 bcf35b986be3a18fb13b7bdcbf0612e0e2ca6c97 SHA256 4f9a2810847be7d45522d6029ee8d472e1bf738580006134b39f54301148ce77 diff --git a/sys-block/compcache/compcache-0.3.ebuild b/sys-block/compcache/compcache-0.3.ebuild new file mode 100644 index 0000000..4800fa5 --- /dev/null +++ b/sys-block/compcache/compcache-0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod + +MY_PV=${PV/_/} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="RAM based block device which acts as swap disk." +HOMEPAGE="http://code.google.com/p/compcache" +SRC_URI="http://compcache.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/$MY_P" + +DEPEND="" + +MODULE_NAMES="compcache(block/compcache)" + +BUILD_TARGETS="all" + +pkg_setup() { + get_version + + if ! linux_chkconfig_present LZO_COMPRESS; then + MODULE_NAMES="lzo1x_compress(block/compcache:${S}/sub-projects/compression/lzo-kmod) ${MODULE_NAMES}" + fi + + if ! linux_chkconfig_present LZO_DECOMPRESS; then + MODULE_NAMES="lzo1x_decompress(block/compcache:${S}/sub-projects/compression/lzo-kmod) ${MODULE_NAMES}" + fi + + if ! linux_chkconfig_present TLSF; then + MODULE_NAMES="tlsf(block/compcache:${S}/sub-projects/allocators/tlsf-kmod ${MODULE_NAMES}" + fi + + linux-mod_pkg_setup +} + +src_install() { + dodoc ${S}/README + linux-mod_src_install +} diff --git a/sys-block/compcache/compcache-9999.ebuild b/sys-block/compcache/compcache-9999.ebuild new file mode 100644 index 0000000..590404f --- /dev/null +++ b/sys-block/compcache/compcache-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs linux-mod subversion + +DESCRIPTION="RAM based block device which acts as swap disk." +HOMEPAGE="http://code.google.com/p/compcache" +ESVN_REPO_URI="http://compcache.googlecode.com/svn/trunk/" + +LICENSE="GPL" +IUSE="" + +S="${WORKDIR}/$MY_P" + +DEPEND="" + +MODULE_NAMES="compcache(block/compcache)" + +BUILD_TARGETS="all" + +pkg_setup() { + get_version + if ! linux_chkconfig_present LZO_COMPRESS; then + MODULE_NAMES="lzo1x_compress(block/compcache:${S}/sub-projects/compression/lzo-kmod) ${MODULE_NAMES}" + fi + + if ! linux_chkconfig_present LZO_DECOMPRESS; then + MODULE_NAMES="lzo1x_decompress(block/compcache:${S}/sub-projects/compression/lzo-kmod) ${MODULE_NAMES}" + fi + + if ! linux_chkconfig_present TLSF; then + MODULE_NAMES="tlsf(block/compcache:${S}/sub-projects/allocators/tlsf-kmod ${MODULE_NAMES}" + fi + + linux-mod_pkg_setup +} + +src_install() { + dodoc ${S}/README + linux-mod_src_install +} |