# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.2.2.ebuild,v 1.9 2015/07/23 20:34:59 pacho Exp $ EAPI="4" inherit eutils toolchain-funcs multilib DESCRIPTION="xfs filesystem utilities" HOMEPAGE="http://oss.sgi.com/projects/xfs/" SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" IUSE="libedit nls readline static static-libs" REQUIRED_USE="static? ( static-libs )" LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)] readline? ( sys-libs/readline[static-libs(+)] ) !readline? ( libedit? ( dev-libs/libedit[static-libs(+)] ) )" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) !=xfsprogs-3.2.0 emake -j1 DIST_ROOT="${ED}" install-{dev,qa} # handle is for xfsdump, the rest for xfsprogs gen_usr_ldscript -a xfs xlog # removing unnecessary .la files if not needed use static-libs || find "${ED}" -name '*.la' -delete }