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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 132 - (show annotations) (download)
Thu Nov 18 21:30:44 2004 UTC (10 years ago) by angusyoung
File size: 2426 byte(s)
Corrected dependencies and made cleanups

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 #RAOUT=freebsd-rtld-aout-${PV}
12 #IPFLT=freebsd-ipfilter-3.4.31
13
14 DESCRIPTION="FreeBSD sbin utils"
15 SRC_URI="${SRC_URI}
16 http://dev.gentoo.org/~angusyoung/distfiles/${CONTRIB}.tar.bz2
17 http://dev.gentoo.org/~angusyoung/distfiles/${LIB}.tar.bz2
18 http://dev.gentoo.org/~angusyoung/distfiles/${LIBEXEC}.tar.bz2
19 http://dev.gentoo.org/~angusyoung/distfiles/${USBIN}.tar.bz2"
20 # http://dev.gentoo.org/~angusyoung/distfiles/${LUTIL}.tar.bz2"
21
22 DEPEND="=sys-kernel/freebsd-sources-5.3*"
23
24 S=${WORKDIR}/sbin
25
26 #pkg_setup() {
27 # unlock-file "/sbin/init"
28 #}
29
30 src_unpack() {
31 unpack ${P}.tar.bz2
32 unpack ${CONTRIB}.tar.bz2
33 unpack ${LIB}.tar.bz2
34 unpack ${LIBEXEC}.tar.bz2
35 unpack ${USBIN}.tar.bz2
36
37 cd ${S}/atm/atm
38 epatch ${FILESDIR}/${P}-atm-atm-makefile.patch
39 cd ${S}/atm/fore_dnld
40 epatch ${FILESDIR}/${P}-atm-fore_dnld-makefile.patch
41 cd ${S}/atm/ilmid
42 epatch ${FILESDIR}/${P}-atm-ilmid-makefile.patch
43 cd ${S}/bsdlabel
44 epatch ${FILESDIR}/${P}-bsdlabel-makefile.patch
45 cd ${S}/fsck_ffs
46 epatch ${FILESDIR}/${P}-fsck_ffs-makefile.patch
47 cd ${S}/fsdb
48 epatch ${FILESDIR}/${P}-fsdb-makefile.patch
49 cd ${S}/gbde
50 epatch ${FILESDIR}/${P}-gbde-makefile.patch
51 cd ${S}/sunlabel
52 epatch ${FILESDIR}/${P}-sunlabel-makefile.patch
53 cd ${S}/fdisk
54 epatch ${FILESDIR}/${P}-fdisk-makefile.patch
55 cd ${S}/vinum
56 epatch ${FILESDIR}/${P}-vinum-makefile.patch
57 cd ${S}/gvinum
58 epatch ${FILESDIR}/${P}-gvinum-makefile.patch
59 cd ${S}/ipf
60 epatch ${FILESDIR}/${P}-ipf-makefile.patch
61 cd ${S}/ipfs
62 epatch ${FILESDIR}/${P}-ipfs-makefile.patch
63 cd ${S}/ipfstat
64 epatch ${FILESDIR}/${P}-ipfstat-makefile.patch
65 cd ${S}/ipmon
66 epatch ${FILESDIR}/${P}-ipmon-makefile.patch
67 cd ${S}/ipnat
68 epatch ${FILESDIR}/${P}-ipnat-makefile.patch
69
70
71 #unpack ${USBIN}.tar.bz2
72 #unpack ${IPFLT}.tar.bz2
73 #mkdir lib
74 #cd lib
75 #cd ${S}
76 #epatch ${FILESDIR}/${P}-r1-makefile.patch
77 # All these patches are supposed to correct paths to
78 # point to /usr/src
79 #cd ${S}/raidctl
80 #epatch ${FILESDIR}/${P}-raidctl-makefile.patch
81 }
82
83 src_compile() {
84 emake || die "Compilation failed"
85 }
86
87 src_install() {
88 emake DESTDIR=${D} install || die "emake failed"
89 #unlock-file ${D}/sbin/init
90
91 }
92
93 #pkg_postinst() {
94 # lock-file /sbin/init
95 #}

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20