Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 301578
Collapse All | Expand All

(-)/usr/portage/sys-apps/file/file-5.03.ebuild (-2 / +7 lines)
Lines 4-10 Link Here
4
4
5
DISTUTILS_DISABLE_PYTHON_DEPENDENCY="1"
5
DISTUTILS_DISABLE_PYTHON_DEPENDENCY="1"
6
6
7
inherit eutils distutils libtool flag-o-matic
7
inherit eutils distutils libtool flag-o-matic toolchain-funcs
8
8
9
DESCRIPTION="identify a file's format by scanning binary data for patterns"
9
DESCRIPTION="identify a file's format by scanning binary data for patterns"
10
HOMEPAGE="ftp://ftp.astron.com/pub/file/"
10
HOMEPAGE="ftp://ftp.astron.com/pub/file/"
Lines 19-24 Link Here
19
DEPEND="python? ( virtual/python )"
19
DEPEND="python? ( virtual/python )"
20
RDEPEND="${DEPEND}"
20
RDEPEND="${DEPEND}"
21
21
22
22
src_unpack() {
23
src_unpack() {
23
	unpack ${P}.tar.gz
24
	unpack ${P}.tar.gz
24
	cd "${S}"
25
	cd "${S}"
Lines 44-50 Link Here
44
	econf || die
45
	econf || die
45
	emake || die
46
	emake || die
46
47
47
	use python && cd python && distutils_src_compile
48
	if tc-is-cross-compiler ; then
49
		use python && cd python && CC=$(tc-getCC) LDSHARED="$(tc-getCC) -shared" distutils_src_compile
50
	else
51
		use python && cd python && distutils_src_compile
52
	fi
48
}
53
}
49
54
50
src_install() {
55
src_install() {

Return to bug 301578