1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 DIST_EXAMPLES=("examples/*")
10 inherit perl-module toolchain-funcs
12 DESCRIPTION="Object-Oriented Access to ACEDB Databases"
15 KEYWORDS="~amd64 ~x86"
17 RESTRICT="!test? ( test )"
19 RDEPEND="virtual/perl-Digest-MD5
22 elibc_glibc? ( net-libs/libtirpc net-libs/rpcsvc-proto )
27 eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch"
28 eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch"
30 cat > "${S}/acelib/wmake/DARWIN_DEF" <<EOF
32 COMPILER = $(tc-getCC) -fwritable-strings -DACEDB4 -DPOSIX
39 if use elibc_glibc ; then
40 eapply "${FILESDIR}/${PN}-1.92-glibc26.patch"
45 perl-module_src_prepare
52 "Ace::Graphics::Fk" # NO VERSION
53 "Ace::Graphics::Glyph"
54 "Ace::Graphics::Glyph::anchored_arrow"
55 "Ace::Graphics::Glyph::arrow"
56 "Ace::Graphics::Glyph::box"
57 "Ace::Graphics::Glyph::crossbox"
58 "Ace::Graphics::Glyph::dot"
59 "Ace::Graphics::Glyph::ex"
60 "Ace::Graphics::Glyph::graded_segments"
61 "Ace::Graphics::Glyph::group"
62 "Ace::Graphics::Glyph::line"
63 "Ace::Graphics::Glyph::primers"
64 "Ace::Graphics::Glyph::segments"
65 "Ace::Graphics::Glyph::span"
66 "Ace::Graphics::Glyph::toomany"
67 "Ace::Graphics::Glyph::transcript"
68 "Ace::Graphics::Glyph::triangle"
69 "Ace::Graphics::GlyphFactory"
70 "Ace::Graphics::Panel"
71 "Ace::Graphics::Track"
76 "Ace::Object::Wormbase"
79 "Ace::Sequence::Feature"
80 "Ace::Sequence::FeatureList"
81 "Ace::Sequence::GappedAlignment 1.20"
83 "Ace::Sequence::Homol"
84 "Ace::Sequence::Multi"
85 "Ace::Sequence::Transcript"
86 "Ace::SocketServer 1.01"
89 # "Ace::Browser::AceSubs ${DIST_VERSION}"
90 # "Ace::Browser::GeneSubs ${DIST_VERSION}"
91 # "Ace::Browser::SearchSubs ${DIST_VERSION}"
92 # "Ace::Browser::SiteDefs ${DIST_VERSION}"
93 # "Ace::Browser::TreeSubs ${DIST_VERSION}"
96 for dep in "${MODULES[@]}"; do
97 ebegin "Compile testing ${dep}"
98 perl -Mblib="${S}" -M"${dep} ()" -e1
99 eend $? || failed+=( "$dep" )
101 if [[ ${failed[@]} ]]; then
103 eerror "One or more modules failed compile:";
104 for dep in "${failed[@]}"; do
107 die "Failing due to module compilation errors";
109 if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
110 ewarn "This package needs network access to run its full test suite"
111 ewarn "For details, see:"
112 ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"