Contents of /trunk/core/glib2/glib2-2.18.3-r1.smage2
Parent Directory | Revision Log
Revision 406 -
(show annotations)
(download)
Wed Dec 24 10:37:14 2008 UTC (15 years, 5 months ago) by niro
File size: 1061 byte(s)
Wed Dec 24 10:37:14 2008 UTC (15 years, 5 months ago) by niro
File size: 1061 byte(s)
-fixed compile issues
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.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 | # fix compile issues -> chost != build breaks the build |
36 | mconfigure --build=${CHOST} --host=${CHOST} --with-threads=posix || die |
37 | mmake || die |
38 | } |
39 | |
40 | src_install() |
41 | { |
42 | minstall_destdir || die |
43 | |
44 | # Consider invalid UTF-8 filenames as locale-specific. |
45 | # FIXME : we should probably move to suggesting G_FILENAME_ENC |
46 | minstalldir /etc/env.d || die |
47 | echo "G_BROKEN_FILENAMES=1" > ${BINDIR}/etc/env.d/50glib2 || die |
48 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |