Magellan Linux

Contents of /trunk/core/libpaper/libpaper-1.1.23-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1062 - (show annotations) (download)
Fri Jan 2 18:54:43 2009 UTC (15 years, 4 months ago) by niro
File size: 1006 byte(s)
-rev bump to 1.1.23-r2
1 # $Header: /magellan-cvs/smage/libpaper/libpaper-1.1.23-r1.smage2,v 1.1 2008/02/12 11:12:35 niro Exp $
2
3 PNAME="libpaper"
4 PVER="1.1.23"
5 PBUILD="r2"
6
7 PCATEGORIE="app-text"
8 STATE="unstable"
9
10 DESCRIPTION="Library for handling paper characteristics."
11 HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}_${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild mtools multilib
19
20 SRC_URI=(
21 http://ftp.debian.org/debian/pool/main/libp/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd ${HOMEPAGE} | grep tar.gz -m1 | sed -e 's/.*r_\(.*\).t.*/\1/' -e 's/\(.*\)+.*/\1/'"
26
27 src_install()
28 {
29 cd ${SRCDIR}
30 minstall_destdir || die
31
32 # set default papersize to A4
33 minstalldir /etc || die
34 echo "a4" > ${BINDIR}/etc/papersize || die
35
36 minstalldocs ChangeLog COPYING README || die
37 }
38
39 postinstall()
40 {
41 echo
42 echo "To set another papersize than A4 run 'paperconfig -p {size}'."
43 echo "Example: to utilize letter: 'paperconfig -p letter'"
44 echo
45 }

Properties

Name Value
svn:keywords Id