Lines 1-6
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.5.ebuild,v 1.22 2006/07/06 01:01:42 vapier Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
5 |
WANT_AUTOMAKE="1.7" |
6 |
WANT_AUTOCONF="latest" |
7 |
|
8 |
inherit autotools |
4 |
|
9 |
|
5 |
DESCRIPTION="Typesafe callback system for standard C++" |
10 |
DESCRIPTION="Typesafe callback system for standard C++" |
6 |
HOMEPAGE="http://libsigc.sourceforge.net/" |
11 |
HOMEPAGE="http://libsigc.sourceforge.net/" |
Lines 12-28
Link Here
|
12 |
IUSE="debug" |
17 |
IUSE="debug" |
13 |
|
18 |
|
14 |
RDEPEND="" |
19 |
RDEPEND="" |
15 |
DEPEND="${RDEPEND} |
20 |
DEPEND="" |
16 |
amd64? ( >=sys-devel/automake-1.7 )" |
|
|
17 |
|
21 |
|
18 |
src_unpack() { |
22 |
src_unpack() { |
19 |
unpack ${A} |
23 |
unpack ${A} |
20 |
cd "${S}" |
24 |
cd "${S}" |
21 |
|
25 |
|
22 |
libtoolize -c -f --automake |
26 |
AT_M4DIR="scripts" eautoreconf |
23 |
WANT_AUTOMAKE=1.7 aclocal -I scripts ${ACLOCAL_FLAGS} || die "aclocal failed. Are your \$ACLOCAL_FLAGS sane?" |
|
|
24 |
WANT_AUTOMAKE=1.7 automake --add-missing --copy || die |
25 |
WANT_AUTOCONF=2.5 autoconf || die |
26 |
} |
27 |
} |
27 |
|
28 |
|
28 |
src_compile() { |
29 |
src_compile() { |
Lines 32-45
Link Here
|
32 |
&& myconf="--enable-debug=yes" \ |
33 |
&& myconf="--enable-debug=yes" \ |
33 |
|| myconf="--enable-debug=no" |
34 |
|| myconf="--enable-debug=no" |
34 |
|
35 |
|
35 |
econf ${myconf} --enable-maintainer-mode --enable-threads || die |
36 |
econf ${myconf} --enable-maintainer-mode --enable-threads || die "econf failed" |
36 |
|
37 |
|
37 |
emake || die "emake failure" |
38 |
emake || die "emake failure" |
38 |
} |
39 |
} |
39 |
|
40 |
|
40 |
src_install() { |
41 |
src_install() { |
41 |
einstall || die |
42 |
einstall || die "einstall failed" |
42 |
dodoc AUTHORS ChangeLog FEATURES IDEAS README INSTALL NEWS TODO |
43 |
dodoc AUTHORS ChangeLog FEATURES IDEAS README NEWS TODO |
43 |
} |
44 |
} |
44 |
|
45 |
|
45 |
pkg_postinst() { |
46 |
pkg_postinst() { |