Magellan Linux

Contents of /branches/magellan-next/core/glib2/glib2-2.28.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8070 - (show annotations) (download)
Wed Jun 29 22:36:34 2011 UTC (12 years, 10 months ago) by niro
File size: 1141 byte(s)
auto added: ver bump to 2.28.8-r1
1 # $Id$
2
3 PNAME="glib2"
4 PVER="2.28.8"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-libs"
8
9 DESCRIPTION="Glib2 C Utility Library."
10 HOMEPAGE="http://www.gtk.org/"
11
12 DEPEND=">= virtual/glibc
13 >= app-admin/gamin-0.1.10"
14
15 SDEPEND=">= dev-util/pkgconfig-0.25
16 >= sys-dev/gettext-0.18
17 >= dev-libs/gobject-introspection-0.10"
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 --enable-introspection || 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 }