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

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

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.20