media-libs/libvisio: Drop eutils.eclass
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sat, 26 Nov 2016 09:37:23 +0000 (10:37 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 17 Dec 2016 15:56:34 +0000 (16:56 +0100)
Package-Manager: portage-2.3.0

media-libs/libvisio/libvisio-0.1.5.ebuild
media-libs/libvisio/libvisio-9999.ebuild

index 32d5e6b8df74956b8dc6713346edb4d345a1e87a..827883f447ca3782f79609a4c8662b9161e502ec 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=6
 
 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libvisio/"
-inherit autotools eutils
+inherit autotools
 [[ ${PV} == 9999 ]] && inherit git-r3
 
 DESCRIPTION="Library parsing the visio documents"
@@ -26,7 +26,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        dev-lang/perl
-       >=dev-libs/boost-1.46
+       dev-libs/boost
        dev-util/gperf
        sys-devel/libtool
        virtual/pkgconfig
@@ -37,23 +37,21 @@ DEPEND="${RDEPEND}
 PATCHES=( "${FILESDIR}/${PN}-0.1.3-tests-without-tools.patch" )
 
 src_prepare() {
-       eapply "${PATCHES[@]}"
-       eapply_user
+       default
        [[ -d m4 ]] || mkdir "m4"
        eautoreconf
 }
 
 src_configure() {
        econf \
-               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
-               $(use_enable static-libs static) \
                --disable-werror \
                $(use_with doc docs) \
+               $(use_enable static-libs static) \
                $(use_enable test tests) \
                $(use_enable tools)
 }
 
 src_install() {
        default
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
 }
index 0adbb1cda8e2961e8e937951c465b5a82eeb9d89..9174356f6502d8072b0033a5a5ef20f545fb1995 100644 (file)
@@ -5,7 +5,6 @@
 EAPI=6
 
 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libvisio/"
-inherit eutils
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="Library parsing the visio documents"
@@ -26,7 +25,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        dev-lang/perl
-       >=dev-libs/boost-1.46
+       dev-libs/boost
        dev-util/gperf
        sys-devel/libtool
        virtual/pkgconfig
@@ -35,22 +34,21 @@ DEPEND="${RDEPEND}
 "
 
 src_prepare() {
-       eapply_user
+       default
        [[ -d m4 ]] || mkdir "m4"
        [[ ${PV} == 9999 ]] && eautoreconf
 }
 
 src_configure() {
        econf \
-               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
-               $(use_enable static-libs static) \
                --disable-werror \
                $(use_with doc docs) \
+               $(use_enable static-libs static) \
                $(use_enable test tests) \
                $(use_enable tools)
 }
 
 src_install() {
        default
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
 }