/[gentoo-x86]/sys-fs/udev/udev-149.ebuild
Gentoo

Diff of /sys-fs/udev/udev-149.ebuild

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

Revision 1.7 Revision 1.8
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/udev/Attic/udev-149.ebuild,v 1.7 2010/03/07 22:49:13 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/Attic/udev-149.ebuild,v 1.8 2010/03/15 21:43:05 zzam Exp $
4 4
5EAPI="1" 5EAPI="1"
6 6
7inherit eutils flag-o-matic multilib toolchain-funcs linux-info 7inherit eutils flag-o-matic multilib toolchain-funcs linux-info
8 8
11if [[ ${PV} == "9999" ]]; then 11if [[ ${PV} == "9999" ]]; then
12 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/hotplug/udev.git" 12 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/hotplug/udev.git"
13 EGIT_BRANCH="master" 13 EGIT_BRANCH="master"
14 inherit git autotools 14 inherit git autotools
15else 15else
16 # please update testsys-tarball whenever udev-xxx/test/sys/ is changed
16 SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2 17 SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2
18 test? ( mirror://gentoo/${PN}-149-testsys.tar.bz2 )
17 mirror://gentoo/${PATCHSET}.tar.bz2" 19 mirror://gentoo/${PATCHSET}.tar.bz2"
18fi 20fi
19DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)" 21DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
20HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 22HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
21 23
128src_unpack() { 130src_unpack() {
129 if [[ ${PV} == "9999" ]] ; then 131 if [[ ${PV} == "9999" ]] ; then
130 git_src_unpack 132 git_src_unpack
131 else 133 else
132 unpack ${A} 134 unpack ${A}
135
136 if use test; then
137 mv "${WORKDIR}"/test/sys "${S}"/test/
138 fi
133 fi 139 fi
134 140
135 cd "${S}" 141 cd "${S}"
136 142
137 # patches go here... 143 # patches go here...

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20