Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141747 Details for
Bug 207342
app-arch/rpm-4.4.9 and app-arch/rpm-4.5 ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rpm-4.5.0.4.ebuild
rpm-4.5.0.4.ebuild (text/plain), 2.87 KB, created by
Andrey Falko
on 2008-01-25 07:57:42 UTC
(
hide
)
Description:
rpm-4.5.0.4.ebuild
Filename:
MIME Type:
Creator:
Andrey Falko
Created:
2008-01-25 07:57:42 UTC
Size:
2.87 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils python autotools perl-module rpm > >MY_P="${P/.0/-0}" > >DESCRIPTION="Red Hat Package Management Utils" >HOMEPAGE="http://rpm5.org" >SRC_URI="http://rpm5.org/files/rpm/rpm-4.5/${MY_P}.src.rpm" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~ppc64 ~s390 ~sparc ~x86" >IUSE="doc lua nls perl python sqlite syck" >GUID="37" > >RDEPEND="sys-libs/db > sys-libs/zlib > dev-libs/elfutils > virtual/libintl > >=app-arch/bzip2-1.0.4 > >=dev-libs/popt-1.6 > >=app-crypt/gnupg-1.2 > virtual/libintl > >=dev-libs/beecrypt-4.1.2 > lua? ( dev-lang/lua ) > python? ( >=dev-lang/python-2.4 ) > perl? ( >=dev-lang/perl-5.8.8 ) > nls? ( sys-devel/gettext ) > sqlite? ( >=dev-db/sqlite-3.3.5 ) > syck? ( dev-libs/syck ) > net-misc/neon" >DEPEND="${RDEPEND} > nls? ( sys-devel/gettext ) > doc? ( app-doc/doxygen )" > >pkg_setup() { > if use perl; then > ewarn "Perl bindings are provided by perl module RPM2. Just run:" > ewarn "emerge app-portage/g-cpan" > ewarn "g-cpan -i RPM2" > ewarn "or if you prefer:" > ewarn "g-cpan -i RPM4" > > einfo "If you want debugging support remove " > einfo "\"-fomit-frame-pointer\" from your " > einfo "CFLAGS and add \"-g2 -ggdb\"." > fi >} > >src_unpack() { > rpm_src_unpack ${A} > cd "${WORKDIR}/rpm-4.5" > > # If this dir is removed rpm links against Gentoo's popt. > rm -rf popt >} > >src_compile() { > cd "${WORKDIR}/rpm-4.5" > > local conf > conf="--without-selinux" > if use doc; then > conf="${conf} --with-apidoc" > fi > if use python; then > python_version > conf="${conf} --with-python=${PYVER}" > else > conf="${conf} --without-python" > fi > > econf ${conf} \ > $(use_with lua) \ > $(use_with perl) \ > $(use_with sqlite) \ > $(use_enable nls) \ > $(use_with syck) \ > || die "econf failed" > > emake -j1 || die "emake failed" >} > >src_install() { > cd "${WORKDIR}/rpm-4.5" > > emake DESTDIR="${D}" install || die "emake install failed" > > mv "${D}/bin/rpm" "${D}/usr/bin/" > rmdir "${D}/bin" > > for magic_file in "magic.mime.mgc" "magic.mgc" "magic.mime" "magic"; do > cp "${WORKDIR}/${PV}/file/magic/${magic_file}" "/usr/lib/rpm/${magic_file}" > done > > # So not to overwrite perlpod > use perl && fixlocalpod > > dodoc CHANGES CREDITS GROUPS README* > use doc && dohtml -r apidocs/html/* > > keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} >} > >pkg_preinst() { > enewgroup ${PN} ${GUID} > enewuser ${PN} ${GUID} /bin/bash /var/lib/rpm rpm >} > >pkg_postinst() { > chown -R rpm:rpm "${ROOT}"/usr/lib/rpm > chown -R rpm:rpm "${ROOT}"/var/lib/rpm > chown rpm:rpm ${ROOT}/usr/bin/rpm{,2cpio,build,db,query,sign,verify} > 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 > chown rpm:rpm ${ROOT}/var/lib/rpm/* > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 207342
:
141745
| 141747