# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portagedb/portagedb-0.2.0.ebuild,v 1.4 2005/01/03 16:46:24 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portagedb/portagedb-0.2.0.ebuild,v 1.5 2005/01/03 17:24:09 blubb Exp $
inherit flag-o-matic
libtoolize --force --copy
autoconf
- if use debug; then
- append-flags -g
- ./configure || die "configure failed"
- else
- ./configure || die "configure failed"
- fi
+ use debug && append-flags -g
+ ./configure --prefix=/usr || die "configure failed"
emake || die "emake failed"
}
src_install() {
- einstall || die "einstall failed"
+ make DESTDIR=${D} install || die "make install failed"
}
pkg_postinst() {