findcruftfiles added
This commit is contained in:
parent
8e731fed9c
commit
b2ab7d1646
|
@ -0,0 +1 @@
|
|||
EBUILD findcruftfiles-9999.ebuild 825 RMD160 5a4729e96b0828f98672994828f09e49f38c4448 SHA1 907f9907a65215a5fb5f061b3391c8750240d75f SHA256 bbfd01699d8423424a4807b8db8a69de6754e3f2d371feccd5c57a4966864660
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/backbone/findcruftfiles.git"}
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://backbone.ws/projects/findcruftfiles/${P}.tar.bz2"
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Automated Gentoo upgrading"
|
||||
|
||||
HOMEPAGE="https://chili.backbone.ws/projects/findcruftfiles"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Allow user patches to be applied without modifying the ebuild
|
||||
epatch_user
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
emake install DESTDIR="${D}"
|
||||
else
|
||||
emake install DESTDIR="${D}" || die
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue