Annotation of /trunk/core/glib2/glib2-2.20.2-r1.smage2
Parent Directory | Revision Log
Revision 1751 -
(hide annotations)
(download)
Mon May 25 17:54:46 2009 UTC (15 years, 4 months ago) by niro
File size: 1019 byte(s)
Mon May 25 17:54:46 2009 UTC (15 years, 4 months ago) by niro
File size: 1019 byte(s)
auto added: ver bump to 2.20.2-r1
1 | niro | 1751 | # $Id$ |
2 | |||
3 | PNAME="glib2" | ||
4 | PVER="2.20.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 | |||
15 | SDEPEND=">= dev-util/pkgconfig-0.23 | ||
16 | >= sys-dev/gettext-0.17" | ||
17 | |||
18 | SRCFILE="${PNAME/2/}-${PVER}.tar.bz2" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}" | ||
20 | |||
21 | # enable linux32 emulation for x86_64 arches | ||
22 | EMUL_LINUX_32=true | ||
23 | |||
24 | sminclude multilib mtools | ||
25 | |||
26 | SRC_URI=( | ||
27 | gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE} | ||
28 | mirror://${PNAME}/${SRCFILE} | ||
29 | ) | ||
30 | |||
31 | UP2DATE="updatecmd_gnome ${PNAME/2/}" | ||
32 | |||
33 | src_compile() | ||
34 | { | ||
35 | local myconf_m64 | ||
36 | myconf_m64="--build=${CHOST}" | ||
37 | |||
38 | # fix compile issues -> chost != build breaks the build | ||
39 | mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix || die | ||
40 | mmake || die | ||
41 | } | ||
42 | |||
43 | src_install() | ||
44 | { | ||
45 | minstall_destdir || die | ||
46 | |||
47 | # Consider invalid UTF-8 filenames as locale-specific. | ||
48 | # FIXME : we should probably move to suggesting G_FILENAME_ENC | ||
49 | minstalldir /etc/env.d || die | ||
50 | echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die | ||
51 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |