blob: fbdcf074fcacf2eea2d105e2a553c3b1cd63bf22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.10 2003/09/18 07:14:19 avenj Exp $
inherit libtool
DESCRIPTION="The GLib library of C routines"
HOMEPAGE="http://www.gtk.org/"
SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/${P}.tar.gz
ftp://ftp.gnome.org/pub/GNOME/stable/sources/glib/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="amd64 x86 ppc sparc alpha mips hppa arm ia64"
DEPEND="virtual/glibc"
src_compile() {
elibtoolize
econf \
--with-threads=posix \
--enable-debug=yes || die
if [ "${ARCH}" = "alpha" ] ; then
emake CFLAGS="${CFLAGS} -fPIC" || die
else
emake || die
fi
}
src_install() {
einstall || die
( cd ${D}/usr/lib ; chmod 755 libgmodule-1.2.so.* )
dodoc AUTHORS ChangeLog COPYING README* INSTALL NEWS
dohtml -r docs
}
|