diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-07-03 11:28:25 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-07-03 11:57:21 +1200 |
commit | 962b38d22057e18d40d366ce8c9b097835c443dd (patch) | |
tree | 47de0ed0ce7f213e382333977a1eef24571ff2b6 /dev-perl/Audio-CD-disc-cover | |
parent | dev-perl/Array-RefElem: -r bump for CFLAGS love (diff) | |
download | gentoo-962b38d22057e18d40d366ce8c9b097835c443dd.tar.gz gentoo-962b38d22057e18d40d366ce8c9b097835c443dd.tar.bz2 gentoo-962b38d22057e18d40d366ce8c9b097835c443dd.zip |
dev-perl/Audio-CD-disc-cover: -r bump for EAPI7 + CFLAGS love
- EAPI7
- Ensure CFLAGS get passed to make/compile
- Remove empty/unused variable assignments
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Audio-CD-disc-cover')
-rw-r--r-- | dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r3.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r3.ebuild b/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r3.ebuild new file mode 100644 index 000000000000..94519a8ae85e --- /dev/null +++ b/dev-perl/Audio-CD-disc-cover/Audio-CD-disc-cover-0.05-r3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# This appears it should really be entitled Audio-CD +# There are * QA Notice: errors on building however the HOMEPAGE gives no source repo in which to file +# prob. not worth the trouble for this little script. + +DIST_EXAMPLES=("eg/*") +inherit perl-module + +MY_P=Audio-CD-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Perl Module needed for app-cdr/disc-cover" +HOMEPAGE="http://www.vanhemert.co.uk/disc-cover.html" +SRC_URI="http://www.vanhemert.co.uk/files/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-perl/URI-1.10 + >=dev-perl/HTML-Parser-3.15 + >=virtual/perl-MIME-Base64-2.12 + >=virtual/perl-Digest-MD5-2.12 + >=virtual/perl-libnet-1.0703-r1 + >=dev-perl/libwww-perl-5.50 + >=media-libs/libcdaudio-0.99.6" +DEPEND=" + >=media-libs/libcdaudio-0.99.6 +" +BDEPEND="${RDEPEND}" + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} +src_test() { + local MODULES=( + "Audio::CD ${PV}" + ) + local failed=() + for dep in "${MODULES[@]}"; do + ebegin "Compile testing ${dep}" + perl -Mblib="${S}" -M"${dep} ()" -e1 + eend $? || failed+=( "$dep" ) + done + if [[ ${failed[@]} ]]; then + echo + eerror "One or more modules failed compile:"; + for dep in "${failed[@]}"; do + eerror " ${dep}" + done + die "Failing due to module compilation errors"; + fi + perl-module_src_test +} |