Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1176 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/glib1/glib1-1.2.10-r7.smage2,v 1.1 2008/02/10 16:39:45 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
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