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