30 lines
801 B
Bash
30 lines
801 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/alien-8.89.ebuild,v 1.6 2014/03/19 15:16:23 ago Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
|
HOMEPAGE="http://kitenet.net/programs/alien"
|
|
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 hppa ppc ~ppc64 x86"
|
|
IUSE="+bzip2"
|
|
|
|
RDEPEND="app-arch/rpm
|
|
app-arch/dpkg
|
|
bzip2? ( app-arch/bzip2 )
|
|
dev-util/debhelper
|
|
>=app-arch/tar-1.14.91"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
S=${WORKDIR}/${PN}
|
|
|
|
src_prepare() {
|
|
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
|
-i "${S}"/Makefile.PL || die "sed failed."
|
|
}
|