2017-02-13 11:20:39 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2016-12-22 09:06:59 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2017-02-13 11:20:39 +03:00
|
|
|
EAPI=6
|
2016-12-22 09:06:59 +03:00
|
|
|
|
|
|
|
DESCRIPTION="Tools for Flash-Friendly File System (F2FS)"
|
2016-12-28 00:11:09 +03:00
|
|
|
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/"
|
2016-12-22 09:06:59 +03:00
|
|
|
SRC_URI="https://dev.gentoo.org/~blueness/f2fs-tools/${P}.tar.xz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
2017-07-03 10:09:53 +03:00
|
|
|
SLOT="0/2"
|
2017-07-03 22:33:34 +03:00
|
|
|
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
2017-07-03 10:09:53 +03:00
|
|
|
IUSE="selinux"
|
2016-12-22 09:06:59 +03:00
|
|
|
|
2017-02-13 11:20:39 +03:00
|
|
|
RDEPEND="
|
2016-12-22 09:06:59 +03:00
|
|
|
sys-apps/util-linux
|
2017-07-03 10:09:53 +03:00
|
|
|
selinux? ( sys-libs/libselinux )"
|
2017-02-13 11:20:39 +03:00
|
|
|
DEPEND="$RDEPEND"
|
2016-12-22 09:06:59 +03:00
|
|
|
|
2017-08-23 21:31:35 +03:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}-sysmacros.patch #623660
|
|
|
|
)
|
|
|
|
|
2016-12-22 09:06:59 +03:00
|
|
|
src_configure() {
|
|
|
|
#This is required to install to /sbin, bug #481110
|
2016-12-28 00:11:09 +03:00
|
|
|
econf \
|
2017-07-03 10:09:53 +03:00
|
|
|
--bindir="${EPREFIX}"/sbin \
|
|
|
|
--disable-static \
|
|
|
|
$(use_with selinux)
|
2016-12-22 09:06:59 +03:00
|
|
|
}
|
2016-12-29 08:39:20 +03:00
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
find "${D}" -name "*.la" -delete || die
|
|
|
|
}
|