summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libsigc++/libsigc++-1.2.3.ebuild')
-rw-r--r--dev-libs/libsigc++/libsigc++-1.2.3.ebuild25
1 files changed, 10 insertions, 15 deletions
diff --git a/dev-libs/libsigc++/libsigc++-1.2.3.ebuild b/dev-libs/libsigc++/libsigc++-1.2.3.ebuild
index 5d8c775c7b8b..302ba3d77cc4 100644
--- a/dev-libs/libsigc++/libsigc++-1.2.3.ebuild
+++ b/dev-libs/libsigc++/libsigc++-1.2.3.ebuild
@@ -1,28 +1,23 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.3.ebuild,v 1.3 2003/05/16 12:57:16 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-1.2.3.ebuild,v 1.4 2003/08/03 02:18:13 vapier Exp $
-S=${WORKDIR}/${P}
-IUSE=""
DESCRIPTION="The GLib library of C routines"
-SRC_URI="mirror://sourceforge/libsigc/${P}.tar.gz"
HOMEPAGE="http://libsigc.sourceforge.net/"
-SLOT="1.2"
+SRC_URI="mirror://sourceforge/libsigc/${P}.tar.gz"
+
LICENSE="GPL-2 LGPL-2.1"
-KEYWORDS="x86 ~ppc ~sparc "
+SLOT="1.2"
+KEYWORDS="x86 ~ppc ~sparc"
+IUSE="debug"
DEPEND="virtual/glibc"
src_compile() {
- local myconf
-
- if [ "${DEBUG}" ]
- then
- myconf="--enable-debug=yes"
- else
- myconf="--enable-debug=no"
- fi
-
+ local myconf=""
+ use debug \
+ && myconf="--enable-debug=yes" \
+ || myconf="--enable-debug=no"
econf ${myconf} --enable-threads || die
emake || die "emake failure"
}