Contents of /smage/trunk/core/glib2/glib2-2.28.8-r1.smage2
Parent Directory | Revision Log
Revision 1741 -
(show annotations)
(download)
Mon Sep 19 08:49:22 2011 UTC (13 years ago) by niro
File size: 1482 byte(s)
Mon Sep 19 08:49:22 2011 UTC (13 years ago) by niro
File size: 1482 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 | SDEPEND=">= dev-util/pkgconfig-0.25" |
14 | |
15 | SRCFILE="${PNAME/2/}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}" |
17 | |
18 | # enable linux32 emulation for x86_64 arches |
19 | EMUL_LINUX_32=true |
20 | |
21 | MCORE_ONLY_KEEP="etc usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" |
22 | sminclude multilib mtools mcore-split |
23 | |
24 | SRC_URI=( |
25 | gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd_gnome ${PNAME/2/}" |
30 | |
31 | src_compile() |
32 | { |
33 | local myconf_m64 |
34 | myconf_m64="--build=${CHOST}" |
35 | |
36 | local myconf |
37 | # disable fam support |
38 | myconf="--disable-fam" |
39 | # disable gtk-doc and man |
40 | myconf+=" --disable-gtk-doc" |
41 | myconf+=" --disable-man" |
42 | # disable xattr |
43 | myconf+=" --disable-xattr" |
44 | # no native regex - disabled, splashy need regex |
45 | #myconf+=" --disable-regex" |
46 | # use internal regex |
47 | myconf+=" --with-pcre=internal --enable-regex" |
48 | # no nls |
49 | myconf+=" --with-libiconv=no" |
50 | myconf+=" --disable-nls" |
51 | |
52 | # fix compile issues -> chost != build breaks the build |
53 | mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix ${myconf} || die |
54 | mmake || die |
55 | } |
56 | |
57 | mcore_generic_src_install() |
58 | { |
59 | minstall_destdir || die |
60 | |
61 | # Consider invalid UTF-8 filenames as locale-specific. |
62 | # FIXME : we should probably move to suggesting G_FILENAME_ENC |
63 | minstalldir /etc/env.d || die |
64 | echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die |
65 | } |