Contents of /branches/magellan-0_10_0/core/glib1/glib1-1.2.10-r9.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1204 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1204 byte(s)
created branch 'magellan-0_10_0'
1 | # $Id$ |
2 | |
3 | PNAME="glib1" |
4 | PVER="1.2.10" |
5 | PBUILD="r9" |
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 | # only glib-1.2! |
27 | UP2DATE="updatecmd http://ftp.gnome.org/pub/gnome/sources/${PNAME/1/}/${PVER:0:3} | lasttarball gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | |
33 | # fixes >= gcc3.4 compile issues |
34 | mpatch ${PNAME}-${PVER}-gcc34.patch || die |
35 | |
36 | # fixes m4 warnings |
37 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die |
38 | |
39 | # add support for x86_64 |
40 | all-abis gnuconfig-update '${SRCDIR}-${abi}'|| die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | mconfigure --with-threads=posix --enable-debug=yes || die |
46 | mmake || die |
47 | } |
48 | |
49 | src_install() |
50 | { |
51 | minstall || die |
52 | all-abis mchmod 0755 /usr/'$(mlibdir)'/libgmodule-1.2.so.* || die |
53 | minstalldocs AUTHORS ChangeLog COPYING NEWS README || die |
54 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |