29 lines
750 B
Bash
29 lines
750 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfs-defrag/reiserfs-defrag-0.2.1.ebuild,v 1.2 2013/01/12 17:11:07 pinkbyte Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="Small defragmentation tool for reiserfs"
|
|
HOMEPAGE="https://github.com/i-rinat/reiserfs-defrag"
|
|
SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="debug"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_install() {
|
|
cmake-utils_src_install
|
|
|
|
dodoc ChangeLog README.md
|
|
}
|
|
|
|
pkg_postinst() {
|
|
ewarn "Defragmentation should be done OFFLINE only! You MUST unmount your reiserfs partition before starting ${PN}"
|
|
}
|