diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-04-14 15:54:05 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-04-14 15:54:05 +0000 |
commit | 31174259e2abf941f600b70eabf215a13f6fbd49 (patch) | |
tree | 544e99819aa011476ddfb606d1021d97bb213819 /app-arch/rpm/rpm-4.2.ebuild | |
parent | SRC_URI fix (diff) | |
download | gentoo-2-31174259e2abf941f600b70eabf215a13f6fbd49.tar.gz gentoo-2-31174259e2abf941f600b70eabf215a13f6fbd49.tar.bz2 gentoo-2-31174259e2abf941f600b70eabf215a13f6fbd49.zip |
Fix naming bug #16994 and put in rpm from RH9.0
Diffstat (limited to 'app-arch/rpm/rpm-4.2.ebuild')
-rw-r--r-- | app-arch/rpm/rpm-4.2.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/app-arch/rpm/rpm-4.2.ebuild b/app-arch/rpm/rpm-4.2.ebuild deleted file mode 100644 index 807ca8e83628..000000000000 --- a/app-arch/rpm/rpm-4.2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# 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.2.ebuild,v 1.7 2003/03/28 22:08:18 liquidx Exp $ - -inherit flag-o-matic libtool - -DESCRIPTION="Red Hat Package Management Utils" -SRC_URI="ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.2.x/${P}.tar.gz" -HOMEPAGE="http://www.rpm.org/" -SLOT="0" -LICENSE="GPL-2 LGPL-2" -KEYWORDS="~x86 ppc ~sparc alpha" -IUSE="nls python doc" -RDEPEND="=sys-libs/db-3.2* - >=sys-libs/zlib-1.1.3 - >=sys-apps/bzip2-1.0.1 - >=dev-libs/popt-1.7 - >=app-crypt/gnupg-1.2 - dev-libs/elfutils - nls? ( sys-devel/gettext ) - python? ( =dev-lang/python-2.2* ) - doc? ( app-doc/doxygen )" - -strip-flags - -src_compile() { - elibtoolize - - unset LD_ASSUME_KERNEL - local myconf - myconf="--enable-posixmutexes --without-javaglue" - use python \ - && myconf="${myconf} --with-python=2.2" \ - || myconf="${myconf} --without-python" - - econf ${myconf} `use_enable nls` || die - make || die -} - -src_install() { - make DESTDIR=${D} install || die - mv ${D}/bin/rpm ${D}/usr/bin - rm -rf ${D}/bin - # Fix for bug #8578 (app-arch/rpm create dead symlink) - # Local RH 7.3 install has no such symlink anywhere - # ------ - # UPDATE for 4.1! - # There is a /usr/lib/rpm/rpmpopt-4.1 now - # the symlink is still created incorrectly. ??? - rm -f ${D}/usr/lib/rpmpopt - keepdir /var/lib/rpm - keepdir /usr/src/pc/{SRPMS,SPECS,SOURCES,RPMS,BUILD} - keepdir /usr/src/pc/RPMS/{noarch,i{3,4,5,6}86,athlon} - keepdir /usr/src/pc - dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO - - use nls || rm -rf ${D}/usr/share/man/{ko,ja,fr,pl,ru,sk} - -} - -pkg_postinst() { - if [ -f ${ROOT}/var/lib/rpm/Packages ]; then - einfo "RPM database found... Rebuilding database (may take a while)..." - ${ROOT}/usr/bin/rpm --rebuilddb --root=${ROOT} - else - einfo "No RPM database found... Creating database..." - ${ROOT}/usr/bin/rpm --initdb --root=${ROOT} - fi -} |