Magellan Linux

Annotation of /branches/magellan-next/core/glib2/glib2-2.26.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7408 - (hide annotations) (download)
Tue Jan 11 23:51:24 2011 UTC (13 years, 4 months ago) by niro
File size: 1151 byte(s)
auto added: ver bump to 2.26.1-r1
1 niro 7408 # $Id: glib2-2.22.2-r1.smage2 3121 2009-10-13 14:31:54Z niro $
2    
3     PNAME="glib2"
4     PVER="2.26.1"
5     PBUILD="r1"
6    
7     PCATEGORIE="dev-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Glib2 C Utility Library."
11     HOMEPAGE="http://www.gtk.org/"
12    
13     DEPEND=">= virtual/glibc
14     >= app-admin/gamin-0.1.10"
15    
16     SDEPEND=">= dev-util/pkgconfig-0.25
17     >= sys-dev/gettext-0.18"
18    
19     SRCFILE="${PNAME/2/}-${PVER}.tar.bz2"
20     SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}"
21    
22     # enable linux32 emulation for x86_64 arches
23     EMUL_LINUX_32=true
24    
25     sminclude multilib mtools
26    
27     SRC_URI=(
28     gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2DATE="updatecmd_gnome ${PNAME/2/}"
33    
34     src_compile()
35     {
36     local myconf_m64
37     myconf_m64="--build=${CHOST}"
38    
39     # fix compile issues -> chost != build breaks the build
40     mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix --with-pcre=internal --enable-regex --enable-fam || die
41     mmake || die
42     }
43    
44     src_install()
45     {
46     minstall_destdir || die
47    
48     # Consider invalid UTF-8 filenames as locale-specific.
49     # FIXME : we should probably move to suggesting G_FILENAME_ENC
50     minstalldir /etc/env.d || die
51     echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die
52     }