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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 350 - (show annotations) (download)
Tue May 10 18:18:56 2005 UTC (9 years, 7 months ago) by flameeyes
File size: 1409 byte(s)
Updated to 5.4-RELEASE.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils
6
7 MY_PATCH=${PN}-5.3_rc1
8
9 DESCRIPTION="FreeBSD libexec things"
10 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
11 =sys-kernel/freebsd-sources-5.4*
12 =sys-kernel/freebsd-headers-5.4*
13 =sys-libs/freebsd-lib-5.4*"
14
15 SRC_URI="${SRC_URI}
16 ${UBIN}.tar.bz2
17 ${BIN}.tar.bz2
18 ${CONTRIB}.tar.bz2
19 ${LIB}.tar.bz2
20 ${USBIN}.tar.bz2"
21
22 S=${WORKDIR}/libexec
23
24 IUSE="pf lukemftpd pam ssl kerberos ipv6 nis"
25
26 pkg_setup() {
27 use pf || mymakeopts="${mymakeopts} NO_PF= "
28 use lukemftpd && mymakeopts="${mymakeopts} WANT_LUKEMFTPD= "
29 use pam || mymakeopts="${mymakeopts} NOPAM= "
30 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
31 use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
32 use ipv6 || mymakeopts="${mymakeopts} NOINET6= "
33 use nis || mymakeopts="${mymakeopts} NO_NIS= "
34
35 mymakeopts="${mymakeopts} NO_SENDMAIL= "
36 }
37
38 src_unpack() {
39 unpack ${A}
40
41 cd ${S}
42 epatch ${FILESDIR}/${PN}-setXid.patch
43
44 cd ${S}/ypxfr
45 epatch ${FILESDIR}/${PN}-5.3_rc1-ypxfr-makefile.patch
46 }
47
48 src_compile() {
49 einfo "Building library dependencies for this package"
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 "fmake failed"
57 }
58
59 src_install() {
60 fmake DESTDIR=${D} install || die "fmake install failed"
61 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20