/[gentoo-x86]/eclass/bsdmk.eclass
Gentoo

Diff of /eclass/bsdmk.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.5
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.2 2006/04/01 15:49:11 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/bsdmk.eclass,v 1.5 2006/04/25 16:35:47 flameeyes Exp $
4# 4#
5# Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org> 5# Otavio R. Piske "AngusYoung" <angusyoung@gentoo.org>
6# Diego Pettenò <flameeyes@gentoo.org> 6# Diego Pettenò <flameeyes@gentoo.org>
7# Benigno B. Junior <bbj@gentoo.org> 7# Benigno B. Junior <bbj@gentoo.org>
8 8
10 10
11EXPORT_FUNCTIONS src_compile src_install 11EXPORT_FUNCTIONS src_compile src_install
12 12
13RDEPEND="" 13RDEPEND=""
14# this should actually be BDEPEND, but this works. 14# this should actually be BDEPEND, but this works.
15DEPEND="|| ( 15DEPEND="virtual/pmake"
16 sys-devel/pmake 16
17 sys-freebsd/freebsd-ubin 17ESED="/usr/bin/sed"
18 sys-openbsd/openbsd-ubin
19 )"
20 18
21#### append-opt <options> 19#### append-opt <options>
22# append options to enable or disable features 20# append options to enable or disable features
23# 21#
24########################################################################### 22###########################################################################
65 echo "LDFLAGS+= $(bindnow-flags)" >> ${dir}/Makefile 63 echo "LDFLAGS+= $(bindnow-flags)" >> ${dir}/Makefile
66 done 64 done
67} 65}
68 66
69bsdmk_src_compile() { 67bsdmk_src_compile() {
70 cd ${S}
71 mkmake || die "make failed" 68 mkmake || die "make failed"
72} 69}
73 70
74bsdmk_src_install() { 71bsdmk_src_install() {
75 cd ${S}
76 mkinstall || die "install failed" 72 mkinstall || die "install failed"
77} 73}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20