Magellan Linux

Annotation of /trunk/core/glib2/glib2-2.18.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 407 - (hide annotations) (download)
Wed Dec 24 10:58:53 2008 UTC (15 years, 5 months ago) by niro
File size: 1109 byte(s)
-really fixed compile issues
1 niro 404 # $Header: /magellan-cvs/smage/glib2/glib2-2.16.3-r1.smage2,v 1.1 2008/04/11 07:27:21 niro Exp $
2    
3     PNAME="glib2"
4     PVER="2.18.3"
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 niro 407 local myconf_m64
36     myconf_m64="--build=${CHOST}"
37    
38 niro 406 # fix compile issues -> chost != build breaks the build
39 niro 407 mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix || die
40 niro 404 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