/[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 115 - (show annotations) (download)
Wed Nov 10 18:56:52 2004 UTC (9 years, 5 months ago) by angusyoung
File size: 1075 byte(s)
New ebuild based on FreeBSD 5.3 -STABLE

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 UBIN="freebsd-ubin-${PV}"
8 BIN="freebsd-bin-${PV}"
9 CONTRIB=freebsd-contrib-${PV}
10 LIB=freebsd-lib-${PV}
11 USBIN="freebsd-usbin-${PV}"
12
13 MY_PATCH=${PN}-5.3_rc1
14
15 DESCRIPTION="FreeBSD libexec things"
16 DEPEND=""
17
18 SRC_URI="${SRC_URI} ${UBIN}.tar.bz2 ${BIN}.tar.bz2 ${CONTRIB}.tar.bz2
19 ${LIB}.tar.bz2 ${USBIN}.tar.bz2"
20
21 S=${WORKDIR}/libexec
22
23 src_unpack() {
24 unpack ${P}.tar.bz2
25 unpack ${UBIN}.tar.bz2
26 unpack ${BIN}.tar.bz2
27 unpack ${CONTRIB}.tar.bz2
28 unpack ${LIB}.tar.bz2
29 unpack ${USBIN}.tar.bz2
30
31 cd ${S}/ypxfr
32 epatch ${FILESDIR}/${MY_PATCH}-ypxfr-makefile.patch
33 }
34
35 src_compile() {
36 einfo "Building library dependencies for this package"
37 cd ${WORKDIR}/lib/libsm
38 emake || die "Compilation of libsm failed"
39 cd ${WORKDIR}/lib/libtelnet
40 emake || die "Compilation of libtelnet failed"
41
42 einfo "Now building the package"
43 cd ${S}
44 emake || die "emake failed"
45 }
46
47 src_install() {
48 emake DESTDIR=${D} install || die "Emake install failed"
49 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20