Magellan Linux

Contents of /smage/trunk/core/glib1/glib1-1.2.10-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 969 - (show annotations) (download)
Tue Aug 4 11:30:53 2009 UTC (14 years, 10 months ago) by niro
File size: 1182 byte(s)
-moved to 'core'
1 # $Header: /alx-cvs/smage-eglibc/glib1/glib1-1.2.10-r7.smage2,v 1.1 2008/06/04 07:13:13 niro Exp $
2
3 PNAME="glib1"
4 PVER="1.2.10"
5 PBUILD="r7"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="GLib is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things."
11 HOMEPAGE="http://www.gtk.org/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME/1/}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME/1/}-${PVER}"
17
18 sminclude gnuconfig multilib mtools alx
19
20 SRC_URI=(
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch
23 mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch
24 )
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29
30 # fixes >= gcc3.4 compile issues
31 mpatch ${PNAME}-${PVER}-gcc34.patch || die
32
33 # fixes m4 warnings
34 mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
35
36 # add support for x86_64
37 all-abis gnuconfig-update '${SRCDIR}-${abi}'|| die
38 }
39
40 src_compile()
41 {
42 mconfigure --with-threads=posix --enable-debug=yes || die
43 mmake || die
44 }
45
46 src_install()
47 {
48 minstall || die
49 all-abis mchmod 0755 /usr/'$(mlibdir)'/libgmodule-1.2.so.* || die
50 minstalldocs AUTHORS ChangeLog COPYING NEWS README || die
51 }

Properties

Name Value
svn:keywords Id