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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441 - (show annotations) (download)
Wed Jun 8 16:59:52 2005 UTC (9 years, 11 months ago) by flameeyes
File size: 961 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
8 inherit freebsd-utils flag-o-matic
9 DESCRIPTION="Contributed sources related to cryptography. Includes openssh"
10 SRC_URI="mirror://gentoo/${CRYPTO}.tar.bz2
11 mirror://gentoo/${LIB}.tar.bz2"
12 LICENSE="AS-IS BSD"
13 IUSE=""
14 DEPEND="=sys-libs/freebsd-lib-5.3*"
15 S=${WORKDIR}/secure
16
17 src_unpack() {
18 # I don't think it's elegant to use this, but we just need
19 # the two Makefiles from its base dir.
20 einfo "Using a small trick to unpack two needed Makefiles"
21 gtar xjf ${DISTDIR}/${LIB}.tar.bz2 ${MAKEFILES} -C ${WORKDIR} ||
22 die "Unpack failed"
23
24 unpack ${P}.tar.bz2
25
26 }
27
28 src_compile() {
29 # -pg and -fomit-frame-pointer are incompatible
30 filter-flags "-fomit-frame-pointer"
31 bsdmake || die "emake failed"
32 }
33
34 src_install() {
35 bsdmake DESTDIR=${D} install || die "emake install failed"
36 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20