public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/p4est/
Date: Fri, 26 Jul 2013 16:14:01 +0000 (UTC)	[thread overview]
Message-ID: <1374781948.febd5efaa3f7ce640ee03a7f34058a294d57acfb.nicolasbock@gentoo> (raw)

commit:     febd5efaa3f7ce640ee03a7f34058a294d57acfb
Author:     Matthias Maier <tamiko <AT> kyomu <DOT> 43-1 <DOT> org>
AuthorDate: Thu Jul 25 19:48:12 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jul 25 19:52:28 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=febd5efa

Cleanup as discussed

---
 sci-libs/p4est/metadata.xml         |  2 --
 sci-libs/p4est/p4est-0.3.4.1.ebuild | 31 +++++++++++--------------------
 2 files changed, 11 insertions(+), 22 deletions(-)

diff --git a/sci-libs/p4est/metadata.xml b/sci-libs/p4est/metadata.xml
index f4d5bcb..592c6fc 100644
--- a/sci-libs/p4est/metadata.xml
+++ b/sci-libs/p4est/metadata.xml
@@ -12,6 +12,4 @@
   designed to work in parallel and scale to hundreds of thousands of
   processor cores.
 </longdescription>
-<use>
-</use>
 </pkgmetadata>

diff --git a/sci-libs/p4est/p4est-0.3.4.1.ebuild b/sci-libs/p4est/p4est-0.3.4.1.ebuild
index c4ed5f3..7e61af7 100644
--- a/sci-libs/p4est/p4est-0.3.4.1.ebuild
+++ b/sci-libs/p4est/p4est-0.3.4.1.ebuild
@@ -31,13 +31,11 @@ RDEPEND="
     ${DEPEND}
     virtual/pkgconfig"
 
-DOCS=(AUTHORS ChangeLog COPYING NEWS README)
+DOCS=(AUTHORS ChangeLog NEWS README)
 
 src_configure() {
 	local myeconfargs=(
         $(use_enable debug)
-		--enable-shared
-		$(use_enable static-libs static)
 		--with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
 		--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
 	)
@@ -47,30 +45,23 @@ src_configure() {
 src_install() {
 	autotools-utils_src_install
 
-	if use doc
-	then
-		cp -r "${S}"/doc/* "${D}${EPREFIX}"/usr/share/doc/${PF}/
-	fi
+	use doc && dodoc -r "${S}"/doc/*
 
 	if use examples
 	then
-		mkdir -p "${D}${EPREFIX}"/usr/share/${PN}/examples
-		cp -r "${S}"/example/* "${D}${EPREFIX}"/usr/share/${PN}/examples
+		insinto /usr/share/${PN}/examples
+		doins -r "${S}"/example/*
 	else
 		# Remove the compiled example binaries in case of -examples:
-		rm -r "${D}${EPREFIX}"/usr/bin
+		rm -r "${ED}"/usr/bin
 	fi
 
-	if ! use static-libs
-	then
-		# *sigh* The build system apparently ignores --enable/disable-static
-		rm "${D}${EPREFIX}"/$(get_libdir)/*.a
-	fi
+	# *sigh* The build system apparently ignores --disable-static
+	use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
 
 	# Fix up some wrong installation pathes:
-	mkdir -p "${D}${EPREFIX}"/usr/share/p4est
-	mv "${D}${EPREFIX}"/usr/share/data "${D}${EPREFIX}"/usr/share/p4est/data
-	mv "${D}${EPREFIX}"/etc/* "${D}${EPREFIX}"/usr/share/p4est
-	rmdir "${D}${EPREFIX}"/etc/
+	dodir /usr/share/p4est
+	mv "${ED}"/usr/share/data "${ED}"/usr/share/p4est/data
+	mv "${ED}"/etc/* "${ED}"/usr/share/p4est
+	rmdir "${ED}"/etc/
 }
-


             reply	other threads:[~2013-07-26 16:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 16:14 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-02 22:08 [gentoo-commits] proj/sci:master commit in: sci-libs/p4est/ Christoph Junghans
2016-09-02 22:08 Christoph Junghans
2016-09-02 22:08 Christoph Junghans
2016-09-02 22:08 Christoph Junghans
2015-06-06 10:23 Justin Lecher
2015-06-06 10:23 Justin Lecher
2014-10-16 15:50 Christoph Junghans
2014-10-16 15:50 Christoph Junghans
2014-07-24 21:51 Jens-Malte Gottfried
2013-10-18 16:19 Christoph Junghans
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock
2013-07-26 16:14 Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374781948.febd5efaa3f7ce640ee03a7f34058a294d57acfb.nicolasbock@gentoo \
    --to=nicolasbock@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox