summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-11 15:11:00 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-11 15:11:00 +0000
commita3fcb7c922e164cc801810baed4471d9772cf477 (patch)
tree79148d9d3587ef0f6efb5862aedbab02d3675267 /sys-apps/util-linux
parentremoved old ebuild (diff)
downloadhistorical-a3fcb7c922e164cc801810baed4471d9772cf477.tar.gz
historical-a3fcb7c922e164cc801810baed4471d9772cf477.tar.bz2
historical-a3fcb7c922e164cc801810baed4471d9772cf477.zip
USE dependent nls compilation
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/ChangeLog9
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11l1
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11l-r11
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11o-r11
-rw-r--r--sys-apps/util-linux/util-linux-2.11o-r1.ebuild73
5 files changed, 82 insertions, 3 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 86cd6548cfe4..9010f6bfd4d8 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/util-linux
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.3 2002/04/08 13:47:52 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.4 2002/04/11 15:11:00 seemant Exp $
+
+*util-linux-2.11o-r1 (11 Apr 2002)
+
+ 11 Apr 2002; Seemant Kulleen <seemant@gentoo.org> util-linux-2.11o-r1.ebuild
+ files/digest-util-linux-2.11o-r1
+
+ USE dependent nls compilation.
*util-linux-2.11o (8 Apr 2002)
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11l b/sys-apps/util-linux/files/digest-util-linux-2.11l
deleted file mode 100644
index a2c3ac9a4793..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11l
+++ /dev/null
@@ -1 +0,0 @@
-MD5 588d9a119e7ecb076dada8d16f94ceb9 util-linux-2.11l.tar.gz 1368159
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11l-r1 b/sys-apps/util-linux/files/digest-util-linux-2.11l-r1
deleted file mode 100644
index a2c3ac9a4793..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11l-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 588d9a119e7ecb076dada8d16f94ceb9 util-linux-2.11l.tar.gz 1368159
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11o-r1 b/sys-apps/util-linux/files/digest-util-linux-2.11o-r1
new file mode 100644
index 000000000000..9f5d9c5493a8
--- /dev/null
+++ b/sys-apps/util-linux/files/digest-util-linux-2.11o-r1
@@ -0,0 +1 @@
+MD5 38ddea8feec3af4847012d7a0be2f9ae util-linux-2.11o.tar.gz 1490079
diff --git a/sys-apps/util-linux/util-linux-2.11o-r1.ebuild b/sys-apps/util-linux/util-linux-2.11o-r1.ebuild
new file mode 100644
index 000000000000..bfcd9a85a70a
--- /dev/null
+++ b/sys-apps/util-linux/util-linux-2.11o-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: System Team <system@gentoo.org>
+# Author: Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11o-r1.ebuild,v 1.1 2002/04/11 15:11:00 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Various useful Linux utilities"
+SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz"
+
+DEPEND="virtual/glibc >=sys-libs/ncurses-5.2-r2"
+
+RDEPEND="$DEPEND sys-devel/perl
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${WORKDIR}
+ cd ${S}
+ cp MCONFIG MCONFIG.orig
+ #Build login etc; we will install only login manually....
+ #We do this to fix a bug with shadow's login
+ sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
+ -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
+ -e "s:HAVE_SHADOW=yes:HAVE_SHADOW=no:" \
+ -e "s:HAVE_PAM=no:HAVE_PAM=yes:" \
+ -e "s:HAVE_SLN=no:HAVE_SLN=yes:" \
+ -e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
+ -e "s:usr/man:usr/share/man:" \
+ -e "s:usr/info:usr/share/info:" \
+ MCONFIG.orig > MCONFIG
+}
+
+src_compile() {
+
+ ./configure || die
+
+ if [ -z "`use nls`" ]
+ then
+ cp defines.h defines.h.orig
+ cp Makefile Makefile.orig
+
+ sed -e "s/#define ENABLE_NLS//g" \
+ -e "s/#define HAVE_libintl_h//g" \
+ defines.h.orig > defines.h
+
+ sed "s/\(^SUBDIRS=\)po/\1lib/g" \
+ Makefile.orig > Makefile
+ fi
+
+ emake LDFLAGS="" || die
+ cd sys-utils; makeinfo *.texi || die
+}
+
+src_install() {
+ #do not install all the login-utils; we will install login
+ #manually ...
+ cp MCONFIG MCONFIG.orig
+ sed -e "s:HAVE_SHADOW=no:HAVE_SHADOW=yes:" \
+ MCONFIG.orig > MCONFIG
+
+ make DESTDIR=${D} install || die
+
+ into /
+ dobin login-utils/login
+ doman login-utils/login.1
+
+ dodoc HISTORY MAINTAINER README VERSION
+ docinto licenses
+ dodoc licenses/* HISTORY
+ docinto examples
+ dodoc example.files/*
+}