/[gentoo-alt]/trunk/sys-libs/freebsd-libexec/freebsd-libexec-5.3.20050301.ebuild
Gentoo

Contents of /trunk/sys-libs/freebsd-libexec/freebsd-libexec-5.3.20050301.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


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

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils flag-o-matic
6
7 MY_PATCH=${PN}-5.3_rc1
8
9 DESCRIPTION="FreeBSD libexec things"
10 DEPEND="=sys-devel/freebsd-mk-defs-5.3*
11 =sys-kernel/freebsd-sources-5.3*
12 =sys-kernel/freebsd-headers-5.3*
13 =sys-libs/freebsd-lib-5.3*"
14
15 SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2
16 mirror://gentoo/${UBIN}.tar.bz2
17 mirror://gentoo/${BIN}.tar.bz2
18 mirror://gentoo/${CONTRIB}.tar.bz2
19 mirror://gentoo/${LIB}.tar.bz2
20 mirror://gentoo/${USBIN}.tar.bz2"
21
22 S=${WORKDIR}/libexec
23
24 IUSE="pf sendmail lukemftpd pam ssl kerberos ipv6"
25
26 pkg_setup() {
27 use pf || mymakeopts="${mymakeopts} NO_PF= "
28 use sendmail || mymakeopts="${mymakeopts} NO_SENDMAIL= "
29 use lukemftpd && mymakeopts="${mymakeopts} WANT_LUKEMFTPD= "
30 use pam || mymakeopts="${mymakeopts} NO_PAM= "
31 use ssl || mymakeopts="${mymakeopts} NO_OPENSSH= NOCRYPT= "
32 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
33 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
34 }
35
36 src_unpack() {
37 unpack ${A}
38
39 cd ${S}/ypxfr
40 epatch ${FILESDIR}/${MY_PATCH}-ypxfr-makefile.patch
41 }
42
43 src_compile() {
44 append-ldflags -Wl,-z,now
45 einfo "Building library dependencies for this package"
46 if use sendmail ; then
47 cd ${WORKDIR}/lib/libsm
48 fmake || die "Compilation of libsm failed"
49 fi
50
51 cd ${WORKDIR}/lib/libtelnet
52 fmake || die "Compilation of libtelnet failed"
53
54 einfo "Now building the package"
55 cd ${S}
56 fmake || die "emake failed"
57 }
58
59 src_install() {
60 fmake DESTDIR=${D} install || die "Emake install failed"
61 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20