summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-17 12:50:19 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-17 12:50:19 +0000
commit8f9a9f54e03f466444df8f771420a7bfd3b96377 (patch)
treefa5635db2d05ceebc4243586109a5003c4a6bd42 /app-arch/rpm/rpm-4.0.4-r4.ebuild
parentHeader update (diff)
downloadgentoo-2-8f9a9f54e03f466444df8f771420a7bfd3b96377.tar.gz
gentoo-2-8f9a9f54e03f466444df8f771420a7bfd3b96377.tar.bz2
gentoo-2-8f9a9f54e03f466444df8f771420a7bfd3b96377.zip
lintool
Diffstat (limited to 'app-arch/rpm/rpm-4.0.4-r4.ebuild')
-rw-r--r--app-arch/rpm/rpm-4.0.4-r4.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/app-arch/rpm/rpm-4.0.4-r4.ebuild b/app-arch/rpm/rpm-4.0.4-r4.ebuild
index 04672181b7c5..4551937a33b3 100644
--- a/app-arch/rpm/rpm-4.0.4-r4.ebuild
+++ b/app-arch/rpm/rpm-4.0.4-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r4.ebuild,v 1.1 2002/10/12 09:31:49 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r4.ebuild,v 1.2 2002/10/17 12:48:56 vapier Exp $
# note to self: check for java deps
@@ -22,7 +22,6 @@ DEPEND="${RDEPEND}
sys-devel/gettext"
src_unpack() {
-
export WANT_AUTOCONF_2_1=1
unpack ${A}
@@ -35,7 +34,6 @@ src_unpack() {
}
src_compile() {
-
local myconf
use nls || myconf="--disable-nls"
use sparc64 && myconf="$myconf --host=${CHOST}"
@@ -45,7 +43,6 @@ src_compile() {
}
src_install() {
-
make DESTDIR=${D} install || die
mv ${D}/bin/rpm ${D}/usr/bin
rm -rf ${D}/bin
@@ -54,13 +51,12 @@ src_install() {
# Local RH 7.3 install has no such symlink anywhere
rm -f ${D}/usr/lib/rpmpopt
- keepdir /var/lib/rpm
+ keepdir /var/lib/rpm
dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO
}
pkg_postinst() {
-
if [ -f ${ROOT}/var/lib/rpm/nameindex.rpm ]; then
einfo "RPM database found... Rebuilding database (may take a while)..."
${ROOT}/usr/bin/rpm --rebuilddb --root=${ROOT}