Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55620 Details for
Bug 88310
an eclass to handle unpacking source rpms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
src-rpm.eclass
src-rpm.eclass (text/plain), 595 bytes, created by
Josh Nichols (RETIRED)
on 2005-04-07 21:33:13 UTC
(
hide
)
Description:
src-rpm.eclass
Filename:
MIME Type:
Creator:
Josh Nichols (RETIRED)
Created:
2005-04-07 21:33:13 UTC
Size:
595 bytes
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># ># Original Author: nichoj ># Purpose: ># > >ECLASS="src-rpm" >INHERITED="$INHERITED $ECLASS" > >DEPEND="$DEPEND app-arch/rpm2targz" > >unpack_srcrpm() { > local SRCRPM=${1:-${A}} > local TARGZ=${SRCRPM/rpm/tar.gz} > > cd ${WORKDIR} > rpm2targz ${DISTDIR}/${SRCRPM} || die > > tar zxf ${TARGZ} > rm -f ${TARGZ} > > # This globbing might not be the best idea > if [[ -f `ls *.tar.gz` ]]; then > tar zxvf *.tar.gz > elif [[ -f `ls *.tar.bz2` ]]; then > tar jxvf *.tar.bz2 > fi > > cd ${S} >}
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 88310
: 55620