00e67e1211
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2516 6952d904-891a-0410-993b-d76249ca496b
27 lines
653 B
Bash
27 lines
653 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Find how deeply inside an .RPM the real data is"
|
|
HOMEPAGE="http://www.slackware.com/config/packages.php"
|
|
SRC_URI=""
|
|
|
|
LICENSE="as-is"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
|
IUSE="userland_GNU"
|
|
|
|
RDEPEND="app-arch/cpio
|
|
|| ( app-arch/lzma-utils app-arch/xz-utils )"
|
|
DEPEND="${DEPEND}"
|
|
|
|
src_compile() {
|
|
"$(tc-getCC)" ${CFLAGS} ${LDFLAGS} ${FILESDIR}/rpmoffset.c -o rpm5offset || die
|
|
}
|
|
|
|
src_install() {
|
|
dobin rpm5offset || die
|
|
}
|