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

media-libs/libcdr/libcdr-0.1.3.ebuild
media-libs/libcdr/libcdr-9999.ebuild

index d818832699f5adeda580f6bad1a07ddd57b277f3..8417e5234f29ac429a9752eab4e52ed7aa7e73d4 100644 (file)
@@ -5,7 +5,6 @@
 EAPI=6
 
 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libcdr/"
-inherit eutils
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="Library parsing the Corel cdr documents"
@@ -33,21 +32,20 @@ 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)
 }
 
 src_install() {
        default
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
 }
index d818832699f5adeda580f6bad1a07ddd57b277f3..8417e5234f29ac429a9752eab4e52ed7aa7e73d4 100644 (file)
@@ -5,7 +5,6 @@
 EAPI=6
 
 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libcdr/"
-inherit eutils
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="Library parsing the Corel cdr documents"
@@ -33,21 +32,20 @@ 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)
 }
 
 src_install() {
        default
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
 }