pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Two-stage extract and RPM support?



At 10:56 Uhr +0100 13.01.2010, Hauke Fath wrote:
>I am working on an update for a linux binary (IBM TSM @ wip). Until now,
>the RPM archives were shipped individually, but 5.2.5 comes as a tar ball
>containing the RPMs.
>
>Now, it seems that specifying EMUL_PKG_FMT=rpm and the RPM_* variables
>disables the magic for unpacking the tarball, so that either the tar ball
>is extracted and the resulting RPMs ignored, or the tarball is ignored and
>the RPMs are not found.

FWIW, adding

do-extract:
        cd ${WRKDIR} && ${EXTRACTOR} ${DISTDIR}/${DISTFILES:Q}

appears to cut the mustard.

        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index