You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/getent/getent-9999.ebuild

36 lines
761 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/getent/getent-9999.ebuild,v 1.1 2014/01/23 14:13:26 blueness Exp $
EAPI="5"
DESCRIPTION="Script to emulate the behavior of glibc's getent utility"
HOMEPAGE="http://www.uclibc.org/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI="http://git.uclibc.org/uClibc/plain/extra/scripts/${PN}"
KEYWORDS=""
MY_P=${PN}
else
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}"
KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
MY_P=${P}
fi
LICENSE="LGPL-2"
SLOT="0"
DEPEND="
!sys-libs/glibc
!sys-libs/uclibc
"
src_unpack() {
mkdir ${P}
cp "${DISTDIR}"/${MY_P} ${P}/${PN}
}
src_install() {
dobin getent
}