summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udisks-glue')
-rw-r--r--sys-fs/udisks-glue/ChangeLog10
-rw-r--r--sys-fs/udisks-glue/metadata.xml9
-rw-r--r--sys-fs/udisks-glue/udisks-glue-1.0.0.ebuild44
3 files changed, 63 insertions, 0 deletions
diff --git a/sys-fs/udisks-glue/ChangeLog b/sys-fs/udisks-glue/ChangeLog
new file mode 100644
index 000000000000..f7e7e2d2aaa1
--- /dev/null
+++ b/sys-fs/udisks-glue/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/udisks-glue
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks-glue/ChangeLog,v 1.1 2010/10/01 18:01:05 ssuominen Exp $
+
+*udisks-glue-1.0.0 (01 Oct 2010)
+
+ 01 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +udisks-glue-1.0.0.ebuild:
+ Initial commit.
+
diff --git a/sys-fs/udisks-glue/metadata.xml b/sys-fs/udisks-glue/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/sys-fs/udisks-glue/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-fs/udisks-glue/udisks-glue-1.0.0.ebuild b/sys-fs/udisks-glue/udisks-glue-1.0.0.ebuild
new file mode 100644
index 000000000000..1d2d0b03a8de
--- /dev/null
+++ b/sys-fs/udisks-glue/udisks-glue-1.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks-glue/udisks-glue-1.0.0.ebuild,v 1.1 2010/10/01 18:01:05 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="A tool to associate udisks events to user-defined actions"
+HOMEPAGE="http://github.com/fernandotcl/udisks-glue"
+SRC_URI="http://download.github.com/fernandotcl-${PN}-release-${PV}-0-g0ce5c4b.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-libs/dbus-glib
+ dev-libs/glib:2
+ dev-libs/confuse"
+RDEPEND="${COMMON_DEPEND}
+ sys-fs/udisks"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/fernandotcl-${PN}-4a2ac2e
+
+src_prepare() {
+ sed -i \
+ -e 's:-Werror::' \
+ -e 's:LDFLAGS+:LIBS+:' \
+ -e '/CC/s:$(OBJS):& $(LIBS):' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ doman man/*.1 || die
+ dodoc README
+}