Contents of /branches/magellan-next/core/glib2/glib2-2.28.7-r1.smage2
Parent Directory | Revision Log
Revision 7537 -
(show annotations)
(download)
Thu May 26 16:06:43 2011 UTC (13 years ago) by niro
File size: 1158 byte(s)
Thu May 26 16:06:43 2011 UTC (13 years ago) by niro
File size: 1158 byte(s)
auto added: ver bump to 2.28.7-r1
1 | # $Id$ |
2 | |
3 | PNAME="glib2" |
4 | PVER="2.28.7" |
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 | >= dev-libs/gobject-introspection-0.10" |
19 | |
20 | SRCFILE="${PNAME/2/}-${PVER}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}" |
22 | |
23 | # enable linux32 emulation for x86_64 arches |
24 | EMUL_LINUX_32=true |
25 | |
26 | sminclude multilib mtools |
27 | |
28 | SRC_URI=( |
29 | gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd_gnome ${PNAME/2/}" |
34 | |
35 | src_compile() |
36 | { |
37 | local myconf_m64 |
38 | myconf_m64="--build=${CHOST}" |
39 | |
40 | # fix compile issues -> chost != build breaks the build |
41 | mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix --with-pcre=internal --enable-regex --enable-fam --enable-introspection || die |
42 | mmake || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | minstall_destdir || die |
48 | |
49 | # Consider invalid UTF-8 filenames as locale-specific. |
50 | # FIXME : we should probably move to suggesting G_FILENAME_ENC |
51 | minstalldir /etc/env.d || die |
52 | echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die |
53 | } |