Line
Link Here
|
0 |
-- dev-libs/libffi/libffi-3.0.12.ebuild |
0 |
++ dev-libs/libffi/libffi-3.0.12-r1.ebuild |
Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
MY_P=${P/_/-} |
7 |
MY_P=${P/_/-} |
8 |
|
8 |
|
9 |
inherit eutils libtool multilib toolchain-funcs |
9 |
inherit eutils libtool multilib toolchain-funcs autotools-multilib |
10 |
|
10 |
|
11 |
DESCRIPTION="a portable, high level programming interface to various calling conventions." |
11 |
DESCRIPTION="a portable, high level programming interface to various calling conventions." |
12 |
HOMEPAGE="http://sourceware.org/libffi/" |
12 |
HOMEPAGE="http://sourceware.org/libffi/" |
Lines 17-28
Link Here
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
18 |
IUSE="debug pax_kernel static-libs test" |
18 |
IUSE="debug pax_kernel static-libs test" |
19 |
|
19 |
|
20 |
RDEPEND="" |
20 |
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20121202 )" |
21 |
DEPEND="test? ( dev-util/dejagnu )" |
21 |
DEPEND="test? ( dev-util/dejagnu )" |
22 |
|
22 |
|
23 |
S=${WORKDIR}/${MY_P} |
23 |
S=${WORKDIR}/${MY_P} |
24 |
|
24 |
|
25 |
DOCS="ChangeLog* README" |
25 |
DOCS=( "${S}"/ChangeLog{,.libffi,.libgcj,.v1} "${S}"/README ) |
26 |
|
26 |
|
27 |
pkg_setup() { |
27 |
pkg_setup() { |
28 |
# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example |
28 |
# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example |
Lines 45-59
Link Here
|
45 |
|
45 |
|
46 |
src_configure() { |
46 |
src_configure() { |
47 |
use userland_BSD && export HOST="${CHOST}" |
47 |
use userland_BSD && export HOST="${CHOST}" |
48 |
econf \ |
48 |
local myeconfargs=( |
49 |
$(use_enable static-libs static) \ |
49 |
$(use_enable static-libs static) |
50 |
$(use_enable pax_kernel pax_emutramp) \ |
50 |
$(use_enable pax_kernel pax_emutramp) |
51 |
$(use_enable debug) |
51 |
$(use_enable debug) |
52 |
} |
52 |
) |
53 |
|
53 |
autotools-multilib_src_configure |
54 |
src_install() { |
|
|
55 |
default |
56 |
prune_libtool_files |
57 |
} |
54 |
} |
58 |
|
55 |
|
59 |
pkg_preinst() { |
56 |
pkg_preinst() { |