/[gentoo-x86]/app-text/libpaper/libpaper-1.1.24-r1.ebuild
Gentoo

Contents of /app-text/libpaper/libpaper-1.1.24-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Mar 20 02:46:00 2014 UTC (4 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Cleanup old.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.24-r1.ebuild,v 1.12 2013/05/03 07:51:59 patrick Exp $
4
5 EAPI=4
6
7 inherit eutils autotools
8
9 MY_PV=${PV/_p/+nmu}
10 DESCRIPTION="Library for handling paper characteristics"
11 HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
12 SRC_URI="mirror://debian/pool/main/libp/libpaper/${PN}_${MY_PV}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
17 IUSE=""
18
19 S="${WORKDIR}/${PN}-${MY_PV}"
20
21 DOCS=( README ChangeLog debian/changelog )
22
23 src_prepare() {
24 sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
25 eautoreconf
26 }
27
28 src_configure() {
29 econf \
30 --disable-static
31 }
32
33 src_install() {
34 default
35
36 find "${ED}" -name '*.la' -exec rm -f {} +
37
38 dodir /etc
39 (paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \
40 || die "papersize config failed"
41
42 if ! has_version app-text/libpaper ; then
43 echo
44 elog "run e.g. \"paperconfig -p letter\" as root to use letter-pagesizes"
45 echo
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20