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

Contents of /trunk/sys-apps/freebsd-ubin/freebsd-ubin-5.3_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 127 - (show annotations) (download)
Sat Nov 13 04:17:41 2004 UTC (12 years, 11 months ago) by ka0ttic
File size: 1814 byte(s)
Inherit may be called only *once* in an ebuild.

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 flag-o-matic
6
7 CONTRIB=freebsd-contrib-${PV}
8 LIB=freebsd-lib-${PV}
9 BIN=freebsd-bin-${PV}
10
11 DESCRIPTION="FreeBSD's base system source for /usr/bin"
12 SRC_URI="${SRC_URI} ${CONTRIB}.tar.bz2 ${LIB}.tar.bz2 ${BIN}.tar.bz2"
13
14 DEPEND=""
15 S=${WORKDIR}/usr.bin
16
17 src_unpack() {
18 unpack ${P}.tar.bz2
19 unpack ${CONTRIB}.tar.bz2
20 unpack ${LIB}.tar.bz2
21 unpack ${BIN}.tar.bz2
22
23
24 q# Fixed location to /usr/src
25 cd ${S}/kdump
26 epatch ${FILESDIR}/${P}-kdump-makefile.patch
27
28 # I belive this patch may give problems with sandbox in the future
29 cd ${S}/truss
30 epatch ${FILESDIR}/${P}-truss-makefile.patch
31
32 # Installation related patch (to create necessary dirs)
33 cd ${S}/calendar
34 epatch ${FILESDIR}/${P}-calendar-makefile.patch
35
36 # This patch does not create NLSLINKS
37 cd ${S}/ee
38 epatch ${FILESDIR}/${P}-ee-makefile.patch
39 cd ${S}/vi
40 epatch ${FILESDIR}/${P}-vi-makefile.patch
41
42
43 #cd ${WORKDIR}/contrib
44 #unpack ${COM_ERR}.tar.bz2
45
46 # Patches area
47 #cd ${S}
48 #epatch ${FILESDIR}/${P}-makefile.patch
49 #epatch ${FILESDIR}/${P}-nocmp.patch
50
51 }
52
53 src_compile() {
54 # ATM -fomit-frame pointer is incompatible with
55 # a flag (-pg) used to build libbind.
56 filter-flags "-fomit-frame-pointer"
57
58 einfo "Building library dependencies"
59 cd ${WORKDIR}/lib/bind
60 make || die "emake libbind failed"
61 cd ${WORKDIR}/lib/libtelnet
62 emake || die "emake libtelnet failed"
63 cd ${WORKDIR}/lib/libsm
64 emake || die "emake libsm failed"
65 cd ${WORKDIR}/lib/libsmutil
66 emake || die "emake libsmutil failed"
67 cd ${WORKDIR}/lib/libsmdb
68 emake || die "emake libsmdb failed"
69
70 cd ${S}
71 einfo "Building package"
72 emake || die "emake failed"
73 }
74
75 src_install() {
76 cd ${S}
77 emake DESTDIR=${D} install || die "Install failed"
78 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20