diff options
author | Sebastian Pipping <sping@gentoo.org> | 2010-03-08 07:30:09 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2010-03-08 07:30:09 +0000 |
commit | ed1413b91b13b4d6b508f65fe27f463daa9b64e5 (patch) | |
tree | 5ecd3353f3817abcb398b2206dbf84636f486ab6 /app-text | |
parent | version bump, bug 308403 by ssuominen (diff) | |
download | gentoo-2-ed1413b91b13b4d6b508f65fe27f463daa9b64e5.tar.gz gentoo-2-ed1413b91b13b4d6b508f65fe27f463daa9b64e5.tar.bz2 gentoo-2-ed1413b91b13b4d6b508f65fe27f463daa9b64e5.zip |
app-text/libpaper: Bump to 1.1.23_p2
(Portage version: 2.2_rc65/cvs/Linux i686)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/libpaper/ChangeLog | 13 | ||||
-rw-r--r-- | app-text/libpaper/libpaper-1.1.23_p2.ebuild | 38 |
2 files changed, 49 insertions, 2 deletions
diff --git a/app-text/libpaper/ChangeLog b/app-text/libpaper/ChangeLog index db8cc090ba81..068d97723dd5 100644 --- a/app-text/libpaper/ChangeLog +++ b/app-text/libpaper/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-text/libpaper -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.38 2008/03/01 14:10:32 angelos Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/ChangeLog,v 1.39 2010/03/08 07:30:09 sping Exp $ + +*libpaper-1.1.23_p2 (08 Mar 2010) + + 08 Mar 2010; Sebastian Pipping <sping@gentoo.org> + +libpaper-1.1.23_p2.ebuild: + Bump to 1.1.23+nmu2 + Drop a patch that got included + Move to EAPI 2 + Minor fixes 01 Mar 2008; Christoph Mende <angelos@gentoo.org> libpaper-1.1.23.ebuild: Stable on amd64, bug #209048 diff --git a/app-text/libpaper/libpaper-1.1.23_p2.ebuild b/app-text/libpaper/libpaper-1.1.23_p2.ebuild new file mode 100644 index 000000000000..37ae9b549850 --- /dev/null +++ b/app-text/libpaper/libpaper-1.1.23_p2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.23_p2.ebuild,v 1.1 2010/03/08 07:30:09 sping Exp $ + +EAPI="2" + +inherit eutils libtool + +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" +IUSE="" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + elibtoolize +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README ChangeLog debian/changelog || die "dodoc failed" + dodir /etc + (paperconf 2>/dev/null || echo a4) > "${D}"/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 +} |