Magellan Linux

Contents of /trunk/core/glib2/glib2-2.20.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2934 - (show annotations) (download)
Wed Jul 15 18:02:45 2009 UTC (14 years, 10 months ago) by niro
File size: 1041 byte(s)
-fixed missing app-admin/fam dependency
1 # $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 >= app-admin/fam-2.7"
15
16 SDEPEND=">= dev-util/pkgconfig-0.23
17 >= sys-dev/gettext-0.17"
18
19 SRCFILE="${PNAME/2/}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}"
21
22 # enable linux32 emulation for x86_64 arches
23 EMUL_LINUX_32=true
24
25 sminclude multilib mtools
26
27 SRC_URI=(
28 gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 UP2DATE="updatecmd_gnome ${PNAME/2/}"
33
34 src_compile()
35 {
36 local myconf_m64
37 myconf_m64="--build=${CHOST}"
38
39 # fix compile issues -> chost != build breaks the build
40 mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix || die
41 mmake || die
42 }
43
44 src_install()
45 {
46 minstall_destdir || die
47
48 # Consider invalid UTF-8 filenames as locale-specific.
49 # FIXME : we should probably move to suggesting G_FILENAME_ENC
50 minstalldir /etc/env.d || die
51 echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die
52 }

Properties

Name Value
svn:keywords Id