From d8a8e07ab10f0ce699417db0c80ca984a2ef59de Mon Sep 17 00:00:00 2001
From: Tomas Chvatal <scarabeus@gentoo.org>
Date: Fri, 9 Sep 2011 16:41:52 +0000
Subject: Revision bump in order to remove all static libraries and libtool
 archives.

(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
---
 app-text/libpaper/ChangeLog                 |  8 ++++-
 app-text/libpaper/libpaper-1.1.24-r1.ebuild | 47 +++++++++++++++++++++++++++++
 app-text/libpaper/libpaper-1.1.24.ebuild    | 39 ------------------------
 3 files changed, 54 insertions(+), 40 deletions(-)
 create mode 100644 app-text/libpaper/libpaper-1.1.24-r1.ebuild
 delete mode 100644 app-text/libpaper/libpaper-1.1.24.ebuild

(limited to 'app-text/libpaper')

diff --git a/app-text/libpaper/ChangeLog b/app-text/libpaper/ChangeLog
index a2ab16f74b80..10d6300cd709 100644
--- a/app-text/libpaper/ChangeLog
+++ b/app-text/libpaper/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/libpaper
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.44 2011/08/28 13:26:59 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.45 2011/09/09 16:41:52 scarabeus Exp $
+
+*libpaper-1.1.24-r1 (09 Sep 2011)
+
+  09 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> -libpaper-1.1.24.ebuild,
+  +libpaper-1.1.24-r1.ebuild:
+  Revision bump in order to remove all static libraries and libtool archives.
 
   28 Aug 2011; Fabian Groffen <grobian@gentoo.org> libpaper-1.1.24.ebuild:
   Marked ~x64-macos
diff --git a/app-text/libpaper/libpaper-1.1.24-r1.ebuild b/app-text/libpaper/libpaper-1.1.24-r1.ebuild
new file mode 100644
index 000000000000..2f0ce52b80c3
--- /dev/null
+++ b/app-text/libpaper/libpaper-1.1.24-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.24-r1.ebuild,v 1.1 2011/09/09 16:41:52 scarabeus Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+MY_PV=${PV/_p/+nmu}
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
+SRC_URI="mirror://debian/pool/main/libp/libpaper/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+DOCS=( README ChangeLog debian/changelog )
+
+src_prepare() {
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--disable-static
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -exec rm -f {} +
+
+	dodir /etc
+	(paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \
+		|| die "papersize config failed"
+}
+
+pkg_postinst() {
+	echo
+	elog "run \"paperconf -p letter\" as root to use letter-pagesizes"
+	elog "or paperconf with normal user privileges."
+	echo
+}
diff --git a/app-text/libpaper/libpaper-1.1.24.ebuild b/app-text/libpaper/libpaper-1.1.24.ebuild
deleted file mode 100644
index 74e4fc80b813..000000000000
--- a/app-text/libpaper/libpaper-1.1.24.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.24.ebuild,v 1.4 2011/08/28 13:26:59 grobian Exp $
-
-EAPI=4
-
-inherit eutils autotools
-
-MY_PV=${PV/_p/+nmu}
-DESCRIPTION="Library for handling paper characteristics"
-HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
-SRC_URI="mirror://debian/pool/main/libp/libpaper/${PN}_${MY_PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
-	eautoreconf
-	default
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dodoc README ChangeLog debian/changelog
-	dodir /etc
-	(paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \
-		|| die "papersize config failed"
-}
-
-pkg_postinst() {
-	echo
-	elog "run \"paperconf -p letter\" as root to use letter-pagesizes"
-	elog "or paperconf with normal user privileges."
-	echo
-}
-- 
cgit v1.2.3-65-gdbad