Permalink
Browse files

Added reiserfs-defrag-9999.ebuild, let see what is it.

  • Loading branch information...
1 parent f45e111 commit 65f40fffbb7ad2f5d0ea8c97b824513bee6a056d @istitov committed Sep 22, 2012
Showing with 34 additions and 0 deletions.
  1. +6 −0 sys-fs/reiserfs-defrag/metadata.xml
  2. +28 −0 sys-fs/reiserfs-defrag/reiserfs-defrag-9999.ebuild
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pkgmetadata>
+<maintainer>
+ <email>iohann.s.titov@gmail.com</email>
+</maintainer>
+</pkgmetadata>
@@ -0,0 +1,28 @@
+# Copyright 2008-2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit cmake-utils git-2
+DESCRIPTION="Small defragmentation tool for reiserfs"
+HOMEPAGE="https://github.com/i-rinat/reiserfs-defrag"
+EGIT_REPO_URI="git://github.com/i-rinat/reiserfs-defrag.git"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+src_compile() {
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "${S}"
+ emake || die "emake failed"
+}
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+}
+src_install() {
+dosbin rfsd || die "Install failed"
+dodoc README.md || die "Install failed"
+}

0 comments on commit 65f40ff

Please sign in to comment.