public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mgorny:master commit in: dev-libs/libcopyfile/
@ 2012-09-23 11:05 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2012-09-23 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4c56f5c9b43110c6ab0eb1eccb8b8d879195e065
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 11:05:27 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 11:05:27 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=4c56f5c9

dev-libs/libcopyfile: Introduce an initial ebuild for libcopyfile.

(Portage version: 2.2.0_alpha127/git/Linux x86_64, unsigned Manifest commit)

---
 dev-libs/libcopyfile/libcopyfile-9999.ebuild |   44 ++++++++++++++++++++++++++
 dev-libs/libcopyfile/metadata.xml            |   15 +++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/dev-libs/libcopyfile/libcopyfile-9999.ebuild b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
new file mode 100644
index 0000000..51d9d4c
--- /dev/null
+++ b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+#if LIVE
+AUTOTOOLS_AUTORECONF=yes
+EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
+
+inherit git-2
+#endif
+
+inherit autotools-utils
+
+DESCRIPTION="A portable file copying library"
+HOMEPAGE="https://bitbucket.org/mgorny/libcopyfile/"
+SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="acl caps debug static-libs xattr"
+
+RDEPEND="acl? ( virtual/acl )
+	caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+#endif
+
+src_configure() {
+	myeconfargs=(
+		$(use_enable acl)
+		$(use_enable caps cap)
+		$(use_enable debug)
+		$(use_enable xattr)
+	)
+
+	autotools-utils_src_configure
+}

diff --git a/dev-libs/libcopyfile/metadata.xml b/dev-libs/libcopyfile/metadata.xml
new file mode 100644
index 0000000..335d634
--- /dev/null
+++ b/dev-libs/libcopyfile/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mgorny@gentoo.org</email>
+		<name>Michał Górny</name>
+	</maintainer>
+	<upstream>
+		<maintainer status="active">
+			<email>mgorny@gentoo.org</email>
+			<name>Michał Górny</name>
+		</maintainer>
+		<bugs-to>https://bitbucket.org/mgorny/libcopyfile/issues/</bugs-to>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: dev-libs/libcopyfile/
@ 2013-07-16  9:03 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2013-07-16  9:03 UTC (permalink / raw
  To: gentoo-commits

commit:     14e46eeaee7facf1a719380742fde2395547bcc3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 09:03:52 2013 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 09:03:52 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=14e46eea

dev-libs/libcopyfile: Update for the btrfs support.

Package-Manager: portage-2.2.0_alpha188

---
 dev-libs/libcopyfile/libcopyfile-9999.ebuild | 5 ++++-
 dev-libs/libcopyfile/metadata.xml            | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libcopyfile/libcopyfile-9999.ebuild b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
index 51d9d4c..2ddcca3 100644
--- a/dev-libs/libcopyfile/libcopyfile-9999.ebuild
+++ b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
@@ -20,11 +20,13 @@ SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="acl caps debug static-libs xattr"
+IUSE="acl btrfs caps debug static-libs xattr"
 
+# USE=btrfs needs btrfs/ioctl.h only
 RDEPEND="acl? ( virtual/acl )
 	caps? ( sys-libs/libcap )"
 DEPEND="${RDEPEND}
+	btrfs? ( >=sys-fs/btrfs-progs-9999 )
 	virtual/pkgconfig"
 
 #if LIVE
@@ -35,6 +37,7 @@ SRC_URI=
 src_configure() {
 	myeconfargs=(
 		$(use_enable acl)
+		$(use_enable btrfs)
 		$(use_enable caps cap)
 		$(use_enable debug)
 		$(use_enable xattr)

diff --git a/dev-libs/libcopyfile/metadata.xml b/dev-libs/libcopyfile/metadata.xml
index 335d634..19f297f 100644
--- a/dev-libs/libcopyfile/metadata.xml
+++ b/dev-libs/libcopyfile/metadata.xml
@@ -5,6 +5,9 @@
 		<email>mgorny@gentoo.org</email>
 		<name>Michał Górny</name>
 	</maintainer>
+	<use>
+		<flag name='btrfs'>Support Copy-on-Write on btrfs volumes</flag>
+	</use>
 	<upstream>
 		<maintainer status="active">
 			<email>mgorny@gentoo.org</email>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16  9:03 [gentoo-commits] dev/mgorny:master commit in: dev-libs/libcopyfile/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2012-09-23 11:05 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox