Rpm2targz

From CBLFS
Revision as of 14:02, 19 March 2009 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://prometheus.cs.wmich.edu/gentoo/distfiles/rpm2targz-9.0.0.4g.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/rpm2targz/rpm2targz-9.0.0.4g-fixes-1.patch

Introduction to Rpm2targz

Converts a .rpm file to a .tar.gz archive

Project Homepage: http://www.slackware.com/config/packages.php

Caution.png

Note

This is Slackware's rpm2targz patched to add bzip2 support, support for other than bash, secure tempfile, non-GNU portability, and causes rpm2targz to extract to current directory.

Non-Multilib

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILD32} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

N32

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILDN32} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

64Bit

Compile the package:

patch -Np1 -i ./rpm2targz-9.0.0.4g-fixes-1.patch &&
gcc ${BUILD64} rpmoffset.c -o rpmoffset

Install the package:

install -vm755 rpm2targz rpmoffset /usr/bin

Contents

Installed Directories: None
Installed Programs: rpm2targz, rpmoffset
Installed Libraries: None

Short Descriptions