Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 177 - (show annotations) (download)
Tue Oct 14 20:38:26 2008 UTC (15 years, 6 months ago) by niro
File size: 971 byte(s)
-added up2date URI
1 # $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.16.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 mconfigure --with-threads=posix || die
36 mmake || die
37 }
38
39 src_install()
40 {
41 minstall_destdir || die
42
43 # Consider invalid UTF-8 filenames as locale-specific.
44 # FIXME : we should probably move to suggesting G_FILENAME_ENC
45 minstalldir /etc/env.d || die
46 echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die
47 }

Properties

Name Value
svn:keywords Id