Magellan Linux

Annotation of /trunk/extras/installer-pango/installer-pango-1.24.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1465 - (hide annotations) (download)
Wed May 6 22:13:31 2009 UTC (15 years ago) by niro
File size: 1524 byte(s)
-no multilib
1 niro 1464 # $Id$
2    
3     PNAME="installer-pango"
4     PVER="1.24.1"
5     PBUILD="r3"
6    
7     PCATEGORIE="app-mage"
8     STATE="unstable"
9    
10     DESCRIPTION="Internal pango library for the installer. Not intended for main use."
11     HOMEPAGE="http://www.pango.org/"
12    
13     DEPEND=">= x11-libs/libXrender-0.9
14     >= x11-libs/libX11-1
15     >= x11-libs/libXft-2
16     >= dev-libs/glib2-2.20
17     >= media-libs/fontconfig-2
18     >= media-libs/freetype-2
19     >= app-mage/installer-cairo-1.8"
20    
21     SDEPEND=">= dev-util/pkgconfig-0.23"
22    
23     sminclude mtools mbuild
24    
25     SRCFILE="pango-${PVER}.tar.bz2"
26     SRCDIR="${BUILDDIR}/pango-${PVER}"
27    
28     SRC_URI=(
29     gnome://pango/${PVER%.*}/${SRCFILE}
30     mirror://pango/${SRCFILE}
31     mirror://pango/pango-1.12.1-xfonts.patch
32     mirror://pango/pango-${PVER}-no-program-suffix-in-man.patch
33     )
34    
35     UP2DATE="updatecmd_gnome pango"
36    
37     src_prepare()
38     {
39     munpack ${SRCFILE} || die
40     cd ${SRCDIR}
41    
42     # some enhancements from Redhat
43     mpatch pango-1.12.1-xfonts.patch || die
44    
45     # programm-suffix is broken - appends the suffix to mans,
46     # but later on it is ignored and builts break
47     mpatch pango-${PVER}-no-program-suffix-in-man.patch || die
48     }
49    
50     src_compile()
51     {
52     cd ${SRCDIR}
53    
54     PKG_CONFIG_PATH=/usr/installer/lib/pkgconfig \
55     ./configure --prefix=/usr/installer --disable-static --disable-gtk-doc || die
56     mmake || die
57     }
58    
59     postinstall()
60     {
61     if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
62     then
63     echo "Generating modules listing ..."
64     local confdir
65    
66     confdir=/usr/installer/etc/pango
67     install -d ${confdir}
68 niro 1465 LD_LIBRARY_PATH=/usr/installer/lib \
69 niro 1464 /usr/installer/bin/pango-querymodules > ${confdir}/pango.modules
70     fi
71     }

Properties

Name Value
svn:keywords Id