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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.440  
changed lines
  Added in v.441

  ViewVC Help
Powered by ViewVC 1.1.20