/[gentoo-x86]/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild
Gentoo

Contents of /app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Sun Jul 8 15:06:14 2012 UTC (2 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.7: +2 -2 lines
alpha/ia64/m68k/s390/sh/sparc stable wrt #413593

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 eras 1.1 # Distributed under the terms of the GNU General Public License v2
3 armin76 1.8 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild,v 1.7 2012/06/07 21:20:16 ranger Exp $
4 eras 1.1
5     EAPI=4
6    
7     inherit flag-o-matic versionator eutils
8    
9     MY_P=${P/mit-}
10     MAJOR_MINOR="$( get_version_component_range 1-2 )"
11     DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution"
12     HOMEPAGE="http://web.mit.edu/kerberos/www/"
13     SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar"
14    
15     LICENSE="as-is"
16     SLOT="0"
17 armin76 1.8 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
18 eras 1.1 IUSE=""
19    
20     RDEPEND=">=app-crypt/mit-krb5-1.8.0
21     sys-libs/e2fsprogs-libs
22     sys-libs/ncurses"
23     DEPEND="${RDEPEND}"
24    
25     S=${WORKDIR}/${MY_P}
26    
27     src_unpack() {
28     unpack ${A}
29     unpack ./"${MY_P}".tar.gz
30     }
31    
32     src_configure() {
33     append-flags "-I/usr/include/et"
34     append-flags -fno-strict-aliasing
35     append-flags -fno-strict-overflow
36     econf
37     }
38    
39     src_install() {
40     emake DESTDIR="${D}" install
41     for i in {telnetd,ftpd} ; do
42     mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \
43     || die "mv failed (man)"
44     mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed"
45     done
46    
47     for i in {rcp,rlogin,rsh,telnet,ftp} ; do
48     mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \
49     || die "mv failed (man)"
50     mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed"
51     done
52    
53     rm "${D}"/usr/share/man/man1/tmac.doc
54     dodoc README
55     }

  ViewVC Help
Powered by ViewVC 1.1.20