Magellan Linux

Contents of /smage/trunk/core/glib2/glib2-2.22.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 138 - (show annotations) (download)
Sun Jan 10 13:30:44 2010 UTC (14 years, 3 months ago) by niro
File size: 1307 byte(s)
auto added: ver bump to 2.22.2-r1
1 # $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 sminclude multilib mtools
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
45 myconf+=" --disable-regex"
46 # no nls
47 myconf+=" --with-libiconv=no"
48 myconf+=" --disable-nls"
49
50 # fix compile issues -> chost != build breaks the build
51 mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix ${myconf} || die
52 mmake || die
53 }
54
55 src_install()
56 {
57 minstall_destdir || die
58
59 # Consider invalid UTF-8 filenames as locale-specific.
60 # FIXME : we should probably move to suggesting G_FILENAME_ENC
61 minstalldir /etc/env.d || die
62 echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die
63 }

Properties

Name Value
svn:keywords Id