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

Contents of /trunk/sys-libs/freebsd-libexec/freebsd-libexec-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, 6 months ago) by flameeyes
File size: 1176 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 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.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 src_unpack() {
25 unpack ${P}.tar.bz2
26 unpack ${UBIN}.tar.bz2
27 unpack ${BIN}.tar.bz2
28 unpack ${CONTRIB}.tar.bz2
29 unpack ${LIB}.tar.bz2
30 unpack ${USBIN}.tar.bz2
31
32 cd ${S}/ypxfr
33 epatch ${FILESDIR}/${MY_PATCH}-ypxfr-makefile.patch
34 }
35
36 src_compile() {
37 einfo "Building library dependencies for this package"
38 cd ${WORKDIR}/lib/libsm
39 emake || die "Compilation of libsm failed"
40 cd ${WORKDIR}/lib/libtelnet
41 emake || die "Compilation of libtelnet failed"
42
43 einfo "Now building the package"
44 cd ${S}
45 emake || die "emake failed"
46 }
47
48 src_install() {
49 emake DESTDIR=${D} install || die "Emake install failed"
50 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20