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

Contents of /trunk/sys-apps/freebsd-bin/freebsd-bin-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, 1 month ago) by flameeyes
File size: 966 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 DESCRIPTION="FreeBSD /bin tools"
8 SRC_URI="mirror://gentoo/${BIN}.tar.bz2
9 mirror://gentoo/${CONTRIB}.tar.bz2
10 mirror://gentoo/${SBIN}.tar.bz2
11 mirror://gentoo/${LIB}.tar.bz2"
12
13 DEPEND="=sys-devel/freebsd-mk-defs-5.3*
14 =sys-libs/freebsd-lib-5.3*"
15
16 S=${WORKDIR}/bin
17
18 src_unpack() {
19 unpack ${P}.tar.bz2
20 unpack ${CONTRIB}.tar.bz2
21 unpack ${SBIN}.tar.bz2
22 unpack ${LIB}.tar.bz2
23
24 # Disables NLS Symlinking. Currently broken.
25 cd ${S}/csh
26 epatch ${FILESDIR}/${P}-csh-makefile.patch
27 }
28
29 src_compile() {
30 # bin/rmail needs to link against libsm.a which is built here:
31 einfo "Building library dependency for this package"
32 cd ${WORKDIR}/lib/libsm
33 emake || die "emake libsm failed"
34
35 einfo "Now building the package"
36 cd ${S}
37 emake || die "emake failed"
38 }
39
40 src_install() {
41 emake DESTDIR=${D} install || die "Install failed"
42 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20