/[gentoo-x86]/sys-fs/aufs3/aufs3-3_p20120813.ebuild
Gentoo

Diff of /sys-fs/aufs3/aufs3-3_p20120813.ebuild

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/sys-fs/aufs3/Attic/aufs3-3_p20120813.ebuild,v 1.1 2012/08/13 07:50:47 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs3/Attic/aufs3-3_p20120813.ebuild,v 1.2 2012/10/07 11:49:11 jlec Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit linux-mod multilib toolchain-funcs eutils 7inherit eutils flag-o-matic linux-mod multilib toolchain-funcs
8 8
9AUFS_VERSION="${PV%%_p*}" 9AUFS_VERSION="${PV%%_p*}"
10# highest branch version 10# highest branch version
11PATCH_MAX_VER=5 11PATCH_MAX_VER=5
12# highest supported version 12# highest supported version
124} 124}
125 125
126src_compile() { 126src_compile() {
127 local ARCH=x86 127 local ARCH=x86
128 128
129 emake CC=$(tc-getCC) CONFIG_AUFS_FS=m KDIR=${KV_DIR} 129 emake CC=$(tc-getCC) LDFLAGS="$(raw-ldflags)" CONFIG_AUFS_FS=m KDIR=${KV_OUT_DIR}
130 130
131 cd "${WORKDIR}"/${PN/3}-util 131 cd "${WORKDIR}"/${PN/3}-util
132 emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_DIR} C_INCLUDE_PATH="${S}"/include 132 emake CC=$(tc-getCC) AR=$(tc-getAR) KDIR=${KV_OUT_DIR} C_INCLUDE_PATH="${S}"/include
133} 133}
134 134
135src_install() { 135src_install() {
136 linux-mod_src_install 136 linux-mod_src_install
137 137
140 use doc && doins -r Documentation 140 use doc && doins -r Documentation
141 141
142 dodoc Documentation/filesystems/aufs/README 142 dodoc Documentation/filesystems/aufs/README
143 143
144 cd "${WORKDIR}"/${PN/3}-util 144 cd "${WORKDIR}"/${PN/3}-util
145 emake DESTDIR="${D}" KDIR=${KV_DIR} install 145 emake DESTDIR="${D}" KDIR=${KV_OUT_DIR} install
146 146
147 newdoc README README-utils 147 newdoc README README-utils
148} 148}

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

  ViewVC Help
Powered by ViewVC 1.1.20