/[gentoo-alt]/trunk/sys-apps/freebsd-crypto/freebsd-crypto-5.3-r1.ebuild
Gentoo

Contents of /trunk/sys-apps/freebsd-crypto/freebsd-crypto-5.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441 - (show annotations) (download)
Wed Jun 8 16:59:52 2005 UTC (9 years, 3 months ago) by flameeyes
File size: 1307 byte(s)
Updated to use gentoo's mirrors and freebsd-utils eclass.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 LIB="freebsd-lib-${PV}"
6 MAKEFILES="lib/Makefile lib/Makefile.inc"
7 KERBEROS5="freebsd-kerberos5-${PV}"
8
9 inherit freebsd-utils flag-o-matic
10 DESCRIPTION="Contributed sources related to cryptography. Includes openssh"
11 SRC_URI="mirror://gentoo/${CRYPTO}.tar.bz2
12 mirror://gentoo/${LIB}.tar.bz2"
13 LICENSE="AS-IS BSD"
14 IUSE=""
15 DEPEND="=sys-libs/freebsd-lib-5.3*"
16 S=${WORKDIR}/secure
17
18 src_unpack() {
19 # I don't think it's elegant to use this, but we just need
20 # the two Makefiles from its base dir.
21 einfo "Using a small trick to unpack two needed Makefiles"
22 gtar xjf ${DISTDIR}/${LIB}.tar.bz2 ${MAKEFILES} -C ${WORKDIR} ||
23 die "Unpack failed"
24
25 unpack ${P}.tar.bz2
26 unpack ${KERBEROS5}.tar.bz2
27
28 }
29
30 src_compile() {
31 # -pg and -fomit-frame-pointer are incompatible
32 filter-flags "-fomit-frame-pointer"
33 bsdmake || die "emake failed"
34 einfo "Building kerberos5 now"
35 cd ${WORKDIR}/kerberos5
36 bsdmake || die "emake kerberos failed"
37 }
38
39 src_install() {
40 einfo "Installing general cryptographic utilities ..."
41 bsdmake DESTDIR=${D} install || die "emake install failed"
42 einfo "Installing kerberos5 ..."
43 cd ${WORKDIR}/kerberos5
44 bsdmake DESTDIR=${D} install || die "emake install kerberos failed"
45 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20