summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-01-20 11:44:03 +0000
committerJustin Lecher <jlec@gentoo.org>2014-01-20 11:44:03 +0000
commit4380dc8eb0efe0755725c3edf2f663c55c1c7762 (patch)
tree7e3534f45ceac10ed13844632e86d8bffae9ab23 /sys-fs/bcache-tools
parentversion bump, bug #491490 (diff)
downloadgentoo-2-4380dc8eb0efe0755725c3edf2f663c55c1c7762.tar.gz
gentoo-2-4380dc8eb0efe0755725c3edf2f663c55c1c7762.tar.bz2
gentoo-2-4380dc8eb0efe0755725c3edf2f663c55c1c7762.zip
sys-fs/bcache-tools: Version BUmp
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sys-fs/bcache-tools')
-rw-r--r--sys-fs/bcache-tools/ChangeLog9
-rw-r--r--sys-fs/bcache-tools/bcache-tools-1.0.5.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/sys-fs/bcache-tools/ChangeLog b/sys-fs/bcache-tools/ChangeLog
index 18d125e49235..fb623f80eb0e 100644
--- a/sys-fs/bcache-tools/ChangeLog
+++ b/sys-fs/bcache-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/bcache-tools
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/bcache-tools/ChangeLog,v 1.5 2013/11/22 13:51:34 jlec Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/bcache-tools/ChangeLog,v 1.6 2014/01/20 11:44:03 jlec Exp $
+
+*bcache-tools-1.0.5 (20 Jan 2014)
+
+ 20 Jan 2014; Justin Lecher <jlec@gentoo.org> +bcache-tools-1.0.5.ebuild:
+ Version BUmp
*bcache-tools-1.0.4 (22 Nov 2013)
diff --git a/sys-fs/bcache-tools/bcache-tools-1.0.5.ebuild b/sys-fs/bcache-tools/bcache-tools-1.0.5.ebuild
new file mode 100644
index 000000000000..f0192901804c
--- /dev/null
+++ b/sys-fs/bcache-tools/bcache-tools-1.0.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/bcache-tools/bcache-tools-1.0.5.ebuild,v 1.1 2014/01/20 11:44:03 jlec Exp $
+
+EAPI=5
+
+inherit toolchain-funcs udev
+
+DESCRIPTION="Tools for bachefs"
+HOMEPAGE="http://bcache.evilpiepirate.org/"
+SRC_URI="https://github.com/g2p/bcache-tools/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=">=sys-apps/util-linux-2.24"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ tc-export CC
+ sed \
+ -e '/^CFLAGS/s:-O2::' \
+ -e '/^CFLAGS/s:-g::' \
+ -i Makefile || die
+}
+
+src_install() {
+ into /
+ dosbin make-bcache bcache-super-show
+
+ exeinto $(get_udevdir)
+ doexe bcache-register probe-bcache
+
+ udev_dorules 69-bcache.rules
+
+ insinto /etc/initramfs-tools/hooks/bcache
+ doins initramfs/hook
+
+ # that is what dracut does
+ insinto /usr/lib/dracut/modules.d/90bcache
+ doins dracut/module-setup.sh
+
+ doman *.8
+
+ dodoc README
+}
+
+pkg_postinst() {
+ udev_reload
+}