Patch configure to leverage defaults of src_compile and src_install.
pkgvdatadir now implicitly respects EPREFIX.
Bug: 582734
Package-Manager: portage-2.2.28
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.10-perl-5.16.patch #424453
chmod a+rx tests/*.test
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
}
src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
local x
for x in aclocal automake; do
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
slot_info_pages
- dodoc NEWS README THANKS TODO AUTHORS ChangeLog
rm \
"${ED}"/usr/bin/{aclocal,automake} \
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
epatch "${FILESDIR}"/${PN}-1.13-perl-escape-curly-bracket.patch
chmod a+rx tests/*.test
export HELP2MAN=true
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
}
src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
local x
for x in aclocal automake; do
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
slot_info_pages
- dodoc NEWS README THANKS TODO AUTHORS ChangeLog
rm \
"${ED}"/usr/bin/{aclocal,automake} \
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
src_prepare() {
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.13-perl-escape-curly-bracket.patch
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
# slot the info pages. do this w/out munging the source so we don't have
# to depend on texinfo to regen things. #464146 (among others)
slot_info_pages() {
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
src_prepare() {
export WANT_AUTOCONF=2.5
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
# slot the info pages. do this w/out munging the source so we don't have
# to depend on texinfo to regen things. #464146 (among others)
slot_info_pages() {
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.13-dyn-ithreads.patch
epatch "${FILESDIR}"/${PN}-1.13-perl-escape-curly-bracket.patch
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils
src_prepare() {
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.13-dyn-ithreads.patch
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils versionator
src_prepare() {
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils versionator
src_prepare() {
export WANT_AUTOCONF=2.5
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils versionator
src_prepare() {
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils versionator
export WANT_AUTOCONF=2.5
epatch "${FILESDIR}"/${PN}-1.15-perl-escape-curly-bracket.patch
epatch "${FILESDIR}"/${PN}-1.15-mdate-tz.patch #520818 #574492
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils versionator
src_prepare() {
export WANT_AUTOCONF=2.5
+ sed -i -e "/APIVERSION=/s:=.*:=${SLOT}:" configure || die
}
src_configure() {
econf --docdir="\$(datarootdir)/doc/${PF}"
}
-src_compile() {
- emake APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
-}
-
src_test() {
emake check
}
}
src_install() {
- emake DESTDIR="${D}" install \
- APIVERSION="${SLOT}" pkgvdatadir="/usr/share/${PN}-${SLOT}"
+ default
+
slot_info_pages
rm "${ED}"/usr/share/aclocal/README || die
rmdir "${ED}"/usr/share/aclocal || die
- dodoc AUTHORS ChangeLog NEWS README THANKS
-
rm \
"${ED}"/usr/bin/{aclocal,automake} \
"${ED}"/usr/share/man/man1/{aclocal,automake}.1 || die