summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-07 00:55:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-07 00:55:57 +0000
commit019b9b2582fd0f27503f43115d5d0053734a2188 (patch)
treea633ef0d19fa10fb58c0f3c462581717fd99429c /sys-apps/tinylogin
parentMarked stable on mips. (diff)
downloadgentoo-2-019b9b2582fd0f27503f43115d5d0053734a2188.tar.gz
gentoo-2-019b9b2582fd0f27503f43115d5d0053734a2188.tar.bz2
gentoo-2-019b9b2582fd0f27503f43115d5d0053734a2188.zip
fix cross compile and clean up #80698
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-apps/tinylogin')
-rw-r--r--sys-apps/tinylogin/metadata.xml2
-rw-r--r--sys-apps/tinylogin/tinylogin-1.4.ebuild20
2 files changed, 9 insertions, 13 deletions
diff --git a/sys-apps/tinylogin/metadata.xml b/sys-apps/tinylogin/metadata.xml
index 96a2d586367d..5c40e771595f 100644
--- a/sys-apps/tinylogin/metadata.xml
+++ b/sys-apps/tinylogin/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>base-system</herd>
+<herd>embedded</herd>
</pkgmetadata>
diff --git a/sys-apps/tinylogin/tinylogin-1.4.ebuild b/sys-apps/tinylogin/tinylogin-1.4.ebuild
index 90c46a50f85e..9873fdbd8bd7 100644
--- a/sys-apps/tinylogin/tinylogin-1.4.ebuild
+++ b/sys-apps/tinylogin/tinylogin-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tinylogin/tinylogin-1.4.ebuild,v 1.10 2005/01/26 23:51:47 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tinylogin/tinylogin-1.4.ebuild,v 1.11 2005/02/07 00:55:57 vapier Exp $
DESCRIPTION="worlds smallest login/passwd/getty/etc"
HOMEPAGE="http://tinylogin.busybox.net/"
@@ -8,26 +8,23 @@ SRC_URI="http://tinylogin.busybox.net/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 arm amd64"
-IUSE="static"
+KEYWORDS="amd64 arm x86"
+IUSE="static make-tinylogin-symlinks"
DEPEND="virtual/libc"
-RDEPEND="!static? ( virtual/libc )
- !sys-apps/pam-login
- !sys-apps/shadow
- !sys-apps/sysvinit
- "
-
src_compile() {
local myconf=""
use static && myconf="${myconf} DOSTATIC=true"
-
+ type -p ${CHOST}-ar && export CROSS=${CHOST}-
emake ${myconf} || die
}
src_install() {
- emake PREFIX=${D} install || die
+ make PREFIX="${D}" install || die
+ if ! use make-tinylogin-symlinks ; then
+ rm -r "${D}"/sbin "${D}"/usr/bin "${D}"/bin/{add*,del*,login,su}
+ fi
doman docs/*.{1,8}
@@ -38,4 +35,3 @@ src_install() {
docinto pod
dodoc *.pod
}
-