blob: c2224c4e382d55ce0ebe10c13008790071a2266d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/alien/alien-8.47.ebuild,v 1.4 2005/05/26 22:49:55 yoswink Exp $
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
HOMEPAGE="http://kitenet.net/programs/alien/"
SRC_URI="http://kitenet.net/programs/alien/${PN}_${PV}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~alpha"
IUSE=""
DEPEND=">=dev-lang/perl-5.6.0
>=app-arch/rpm-4.0.4-r4
>=app-arch/bzip2-1.0.2-r2
>=app-arch/dpkg-1.10.9"
S=${WORKDIR}/${PN}
src_compile() {
perl Makefile.PL PREFIX="${D}/usr" || die "configuration failed"
emake || die "emake failed."
}
src_install() {
dodir /usr/lib/perl5/site_perl/`perl -e 'printf "%vd", $^V;'`/Alien/Package
make install PREFIX=${D}/usr \
INSTALLMAN1DIR=${D}/usr/share/man/man1 \
INSTALLMAN3DIR=${D}/usr/share/man/man3 \
VARPREFIX=${D}
dodoc INSTALL README TODO
}
|