/[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 108 - (show annotations) (download)
Thu Nov 4 07:28:47 2004 UTC (9 years, 11 months ago) by angusyoung
File size: 1340 byte(s)
Incomplete ebuild for freebsd-ubin based on 5.3 rc1

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 CONTRIB=freebsd-contrib-${PV}
8 LIB=freebsd-lib-${PV}
9
10 DESCRIPTION="FreeBSD's base system source for /usr/bin"
11 SRC_URI="${SRC_URI} ${CONTRIB}.tar.bz2 ${LIB}.tar.bz2"
12
13 DEPEND=""
14 S=${WORKDIR}/usr.bin
15
16 src_unpack() {
17 unpack ${P}.tar.bz2
18 unpack ${CONTRIB}.tar.bz2
19 unpack ${LIB}.tar.bz2
20
21
22 q# Fixed location to /usr/src
23 cd ${S}/kdump
24 epatch ${FILESDIR}/${P}-kdump-makefile.patch
25
26 # I belive this patch may give problems with sandbox in the future
27 cd ${S}/truss
28 epatch ${FILESDIR}/${P}-truss-makefile.patch
29
30
31 #cd ${WORKDIR}/contrib
32 #unpack ${COM_ERR}.tar.bz2
33
34 # Patches area
35 #cd ${S}
36 #epatch ${FILESDIR}/${P}-makefile.patch
37 #epatch ${FILESDIR}/${P}-nocmp.patch
38
39 }
40
41 src_compile() {
42 einfo "Building library dependencies"
43 cd ${WORKDIR}/lib/bind
44 make || die "emake libbind failed"
45 cd ${WORKDIR}/lib/libtelnet
46 emake || die "emake libtelnet failed"
47 cd ${WORKDIR}/lib/libsm
48 emake || die "emake libsm failed"
49 cd ${WORKDIR}/lib/libsmutil
50 emake || die "emake libsmutil failed"
51 cd ${WORKDIR}/lib/libsmdb
52 emake || die "emake libsmdb failed"
53
54 cd ${S}
55 einfo "Building package"
56 emake || die "emake failed"
57 }
58
59 src_install() {
60 cd ${S}
61 emake DESTDIR=${D} install || die "Install failed"
62 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20