summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/libpaper/ChangeLog7
-rw-r--r--app-text/libpaper/files/digest-libpaper-1.1.203
-rw-r--r--app-text/libpaper/libpaper-1.1.20.ebuild39
3 files changed, 48 insertions, 1 deletions
diff --git a/app-text/libpaper/ChangeLog b/app-text/libpaper/ChangeLog
index 37d9a21cfb62..ec1d96a489c0 100644
--- a/app-text/libpaper/ChangeLog
+++ b/app-text/libpaper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/libpaper
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.8 2006/08/18 00:46:35 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.9 2006/09/01 14:19:10 chutzpah Exp $
+
+*libpaper-1.1.20 (01 Sep 2006)
+
+ 01 Sep 2006; Patrick McLean <chutzpah@gentoo.org> +libpaper-1.1.20.ebuild:
+ Version bump (cleared by genstef).
*libpaper-1.1.19 (18 Aug 2006)
diff --git a/app-text/libpaper/files/digest-libpaper-1.1.20 b/app-text/libpaper/files/digest-libpaper-1.1.20
new file mode 100644
index 000000000000..5021eae16a16
--- /dev/null
+++ b/app-text/libpaper/files/digest-libpaper-1.1.20
@@ -0,0 +1,3 @@
+MD5 7075f580606a84e63b7d6d9fa3124c31 libpaper_1.1.20.tar.gz 329001
+RMD160 72def1bc31cf74cc679070caaf62cad1fa8b8ec6 libpaper_1.1.20.tar.gz 329001
+SHA256 7ff5f355bb254a3d4ed4541377e6304432ee8678e7c9ec29e7d43488903004c9 libpaper_1.1.20.tar.gz 329001
diff --git a/app-text/libpaper/libpaper-1.1.20.ebuild b/app-text/libpaper/libpaper-1.1.20.ebuild
new file mode 100644
index 000000000000..14883f55ea5e
--- /dev/null
+++ b/app-text/libpaper/libpaper-1.1.20.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.20.ebuild,v 1.1 2006/09/01 14:19:10 chutzpah Exp $
+
+inherit eutils libtool
+
+MY_P=${P/-/_}
+DESCRIPTION="Library for handling paper characteristics"
+HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
+SRC_URI="mirror://debian/pool/main/libp/libpaper/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ ln -s /usr/share/libtool/config.sub
+ ln -s /usr/share/libtool/config.guess
+
+ epatch "${FILESDIR}/libpaper-1.1.14.8-malloc.patch"
+
+ elibtoolize
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+
+ dodoc README ChangeLog
+
+ dodir /etc
+ (paperconf 2>/dev/null || echo a4) > ${D}/etc/papersize
+}
+
+pkg_postinst() {
+ einfo "run \"paperconfig -p letter\" to use letter-pagesizes"
+}