summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/systemd-unit.eclass4
-rw-r--r--sys-apps/ocfs2-service/Manifest2
-rw-r--r--sys-apps/ocfs2-service/ocfs2-service-1.ebuild10
3 files changed, 14 insertions, 2 deletions
diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass
index d3e1e60..9436c15 100644
--- a/eclass/systemd-unit.eclass
+++ b/eclass/systemd-unit.eclass
@@ -21,11 +21,11 @@ IUSE=""
src_unpack()
{
mkdir ${S}
- cp ${DISTDIR}/${A} ${S}
+ cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${A}}
}
src_install()
{
- systemd_dounit ${S}/${A}
+ systemd_dounit ${S}/${TARGETNAME:=${A}}
}
diff --git a/sys-apps/ocfs2-service/Manifest b/sys-apps/ocfs2-service/Manifest
new file mode 100644
index 0000000..4387726
--- /dev/null
+++ b/sys-apps/ocfs2-service/Manifest
@@ -0,0 +1,2 @@
+DIST ocfs2.service 354 SHA256 45fb16cdacfff7ff1d662e9354b24cae35ec692a446941eb35ec381c1ad3c5cd SHA512 23521336c00aa9012ca84a2b5245af17d05106d34202601637df24460cf2e305b3ce535996b30a68a96628c75a075a7d6b392908d239e7adaae66e663bb23432 WHIRLPOOL 8bc9d8b6aa607bee8046865ef87fdeaaf3ce806009c36d63c56534f13c2430946b51dda450f36a976644bfb134b5e4f1199dfc1cfaf4b53601c4e1c330afd0ac
+EBUILD ocfs2-service-1.ebuild 195 SHA256 244d28a2a618902b4240d1e1fada7979f0725292188bb7617fadcf0cb41654cd SHA512 085d3022becc8ee91443e72db6a27fa7a3924c3f1fd9fc92c61f1168ba19c54f5a04688ad7424c4deef69554a14257e3f53c5e86112ca82effff2858a97685d2 WHIRLPOOL e49a287f94f0978023d68bf369782510e77b5d7346620e5d86f5ad467991220354d3639c05c3a1c206f8c145911c5781d6ae0f050316f1a1d33fa99e0bb75d0b
diff --git a/sys-apps/ocfs2-service/ocfs2-service-1.ebuild b/sys-apps/ocfs2-service/ocfs2-service-1.ebuild
new file mode 100644
index 0000000..5666a04
--- /dev/null
+++ b/sys-apps/ocfs2-service/ocfs2-service-1.ebuild
@@ -0,0 +1,10 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit "systemd-unit"
+TARGETNAME="ocfs2@.service"
+
+DEPEND=""
+RDEPEND=""