/[gentoo-alt]/trunk/sys-apps/freebsd-sbin/freebsd-sbin-5.3.20050301.ebuild
Gentoo

Contents of /trunk/sys-apps/freebsd-sbin/freebsd-sbin-5.3.20050301.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 265 - (show annotations) (download)
Thu Mar 17 18:31:54 2005 UTC (9 years, 6 months ago) by angusyoung
File size: 2128 byte(s)
New ebuilds based on updated sources. Release -r1 contains support for USE Flags thus closing bug 84904

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 LIBEXEC=freebsd-libexec-${PV}
10 USBIN=freebsd-usbin-${PV}
11
12 MY_PATCH=${PN}-5.3_rc1
13
14 DESCRIPTION="FreeBSD sbin utils"
15 SRC_URI="${SRC_URI}
16 ${BASE_SRC_URI}${CONTRIB}.tar.bz2
17 ${BASE_SRC_URI}${LIB}.tar.bz2
18 ${BASE_SRC_URI}${LIBEXEC}.tar.bz2
19 ${BASE_SRC_URI}${USBIN}.tar.bz2"
20
21 DEPEND="=sys-kernel/freebsd-sources-5.3*
22 =sys-kernel/freebsd-headers-5.3*
23 =sys-devel/freebsd-mk-defs-5.3*
24 =sys-libs/freebsd-lib-5.3*
25 =sys-libs/freebsd-libexec-5.3*"
26
27 S=${WORKDIR}/sbin
28
29 src_unpack() {
30 unpack ${P}.tar.bz2
31 unpack ${CONTRIB}.tar.bz2
32 unpack ${LIB}.tar.bz2
33 unpack ${LIBEXEC}.tar.bz2
34 unpack ${USBIN}.tar.bz2
35
36 # Patches area
37 # Most patches just change makefiles to point to /usr/src/sys
38 cd ${S}/atm/atm
39 epatch ${FILESDIR}/${MY_PATCH}-atm-atm-makefile.patch
40 cd ${S}/atm/fore_dnld
41 epatch ${FILESDIR}/${MY_PATCH}-atm-fore_dnld-makefile.patch
42 cd ${S}/atm/ilmid
43 epatch ${FILESDIR}/${MY_PATCH}-atm-ilmid-makefile.patch
44 cd ${S}/bsdlabel
45 epatch ${FILESDIR}/${MY_PATCH}-bsdlabel-makefile.patch
46 cd ${S}/fsck_ffs
47 epatch ${FILESDIR}/${MY_PATCH}-fsck_ffs-makefile.patch
48 cd ${S}/fsdb
49 epatch ${FILESDIR}/${MY_PATCH}-fsdb-makefile.patch
50 cd ${S}/gbde
51 epatch ${FILESDIR}/${MY_PATCH}-gbde-makefile.patch
52 cd ${S}/sunlabel
53 epatch ${FILESDIR}/${MY_PATCH}-sunlabel-makefile.patch
54 cd ${S}/fdisk
55 epatch ${FILESDIR}/${MY_PATCH}-fdisk-makefile.patch
56 cd ${S}/vinum
57 epatch ${FILESDIR}/${MY_PATCH}-vinum-makefile.patch
58 cd ${S}/gvinum
59 epatch ${FILESDIR}/${MY_PATCH}-gvinum-makefile.patch
60 cd ${S}/ipf
61 epatch ${FILESDIR}/${MY_PATCH}-ipf-makefile.patch
62 cd ${S}/ipfs
63 epatch ${FILESDIR}/${MY_PATCH}-ipfs-makefile.patch
64 cd ${S}/ipfstat
65 epatch ${FILESDIR}/${MY_PATCH}-ipfstat-makefile.patch
66 cd ${S}/ipmon
67 epatch ${FILESDIR}/${MY_PATCH}-ipmon-makefile.patch
68 cd ${S}/ipnat
69 epatch ${FILESDIR}/${MY_PATCH}-ipnat-makefile.patch
70 }
71
72 src_compile() {
73 emake || die "Compilation failed"
74 }
75
76 src_install() {
77 emake DESTDIR=${D} install || die "emake failed"
78 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20