View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/app-admin/testdisk/testdisk-5.9.ebuild (-3 / +8 lines)
 Lines 11-30    Link Here 
LICENSE="GPL-2"
LICENSE="GPL-2"
SLOT="0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="static reiserfs ntfs"
IUSE="static reiserfs ntfs jpeg"
DEPEND=">=sys-libs/ncurses-5.2
DEPEND=">=sys-libs/ncurses-5.2
	ntfs? ( >=sys-fs/ntfsprogs-1.9.4 )
	ntfs? ( >=sys-fs/ntfsprogs-1.9.4 )
	reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
	reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
	jpeg? ( media-libs/jpeg )
	>=sys-fs/e2fsprogs-1.35"
	>=sys-fs/e2fsprogs-1.35"
RDEPEND="!static? ( ${DEPEND} )"
RDEPEND="!static? ( ${DEPEND} )"
S=${WORKDIR}/${MY_P}
S=${WORKDIR}/${MY_P}
src_compile() {
src_compile() {
	econf $(use_with ntfs) $(use_with reiserfs) || die
	local myconf
	use ntfs || myconf="${myconf} --without-ntfs"
	use reiserfs || myconf="${myconf} --without-reiserfs"
	use ntfs || myconf="${myconf} --without-jpeg"
	econf ${myconf} || die
	if use static
	if use static
	then
	then
		emake smallstatic || die
		emake static || die
	else
	else
		emake || die
		emake || die
	fi
	fi