summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-11 06:21:02 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-11 06:21:02 +0000
commit4efa3eb73f818c5d82c769321b65ab3e64a0ece8 (patch)
treeec512c902f3ccbcb5d7d08ff90d49f959fdef10b /sys-apps/util-linux
parentremoved older ebuilds (diff)
downloadgentoo-2-4efa3eb73f818c5d82c769321b65ab3e64a0ece8.tar.gz
gentoo-2-4efa3eb73f818c5d82c769321b65ab3e64a0ece8.tar.bz2
gentoo-2-4efa3eb73f818c5d82c769321b65ab3e64a0ece8.zip
removed older ebuilds and use epatch
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11r2
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11r-r12
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11t2
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11u2
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11w2
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.11z2
-rw-r--r--sys-apps/util-linux/util-linux-2.11o-r3.ebuild6
-rw-r--r--sys-apps/util-linux/util-linux-2.11r-r1.ebuild71
-rw-r--r--sys-apps/util-linux/util-linux-2.11r.ebuild68
-rw-r--r--sys-apps/util-linux/util-linux-2.11t.ebuild77
-rw-r--r--sys-apps/util-linux/util-linux-2.11u.ebuild79
-rw-r--r--sys-apps/util-linux/util-linux-2.11w.ebuild79
-rw-r--r--sys-apps/util-linux/util-linux-2.11z.ebuild85
13 files changed, 4 insertions, 473 deletions
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11r b/sys-apps/util-linux/files/digest-util-linux-2.11r
deleted file mode 100644
index 8b53de1b12eb..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11r
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 939c11a899f9e4f3cfc3ec83b736d3ad util-linux-2.11r.tar.gz 1517513
-MD5 16a8654556dcd1ea21d00c14291ecb28 util-linux-2.11r.patch.gz 18744
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11r-r1 b/sys-apps/util-linux/files/digest-util-linux-2.11r-r1
deleted file mode 100644
index 8b53de1b12eb..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11r-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 939c11a899f9e4f3cfc3ec83b736d3ad util-linux-2.11r.tar.gz 1517513
-MD5 16a8654556dcd1ea21d00c14291ecb28 util-linux-2.11r.patch.gz 18744
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11t b/sys-apps/util-linux/files/digest-util-linux-2.11t
deleted file mode 100644
index ac3462081f77..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11t
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 52afadbeaca00dfe8870f73bf7b833a1 util-linux-2.11t.tar.gz 1560981
-MD5 16a8654556dcd1ea21d00c14291ecb28 util-linux-2.11r.patch.gz 18744
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11u b/sys-apps/util-linux/files/digest-util-linux-2.11u
deleted file mode 100644
index 570d6971d965..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11u
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2316d2c339c0b59dabd1a455928b9efd util-linux-2.11u.tar.gz 1568828
-MD5 16a8654556dcd1ea21d00c14291ecb28 util-linux-2.11r.patch.gz 18744
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11w b/sys-apps/util-linux/files/digest-util-linux-2.11w
deleted file mode 100644
index d9a8311f8024..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11w
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 36d6bcdf415d6b486205cc64abb7af77 util-linux-2.11w.tar.gz 1787665
-MD5 16a8654556dcd1ea21d00c14291ecb28 util-linux-2.11r.patch.gz 18744
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.11z b/sys-apps/util-linux/files/digest-util-linux-2.11z
deleted file mode 100644
index b479cd78fc10..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.11z
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 abaab0a441233d6b7763b89ea5ab4078 util-linux-2.11z.tar.bz2 1266784
-MD5 9d6c4c8a99188b6696b0735fa48f67c2 util-linux-2.11z-crypt-gentoo.patch.bz2 18249
diff --git a/sys-apps/util-linux/util-linux-2.11o-r3.ebuild b/sys-apps/util-linux/util-linux-2.11o-r3.ebuild
index 3fd7dcdb7919..2419eddab31e 100644
--- a/sys-apps/util-linux/util-linux-2.11o-r3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.11o-r3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11o-r3.ebuild,v 1.13 2003/02/13 16:21:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11o-r3.ebuild,v 1.14 2003/03/11 06:21:01 seemant Exp $
+
+inherit eutils
IUSE="nls"
@@ -24,7 +26,7 @@ src_unpack() {
unpack ${P}.tar.gz
cd ${WORKDIR}
cd ${S}
- gunzip -c ${DISTDIR}/${P}.patch.gz | patch -p0
+ epatch ${DISTDIR}/${P}.patch.gz
cp MCONFIG MCONFIG.orig
sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
-e "s:CPU=.*:CPU=${CHOST%%-*}:" \
diff --git a/sys-apps/util-linux/util-linux-2.11r-r1.ebuild b/sys-apps/util-linux/util-linux-2.11r-r1.ebuild
deleted file mode 100644
index 465de81a94ce..000000000000
--- a/sys-apps/util-linux/util-linux-2.11r-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11r-r1.ebuild,v 1.13 2003/02/13 16:21:10 vapier Exp $
-
-IUSE="crypt nls"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz
- http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/${P}.patch.gz"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-KEYWORDS="x86 ppc sparc "
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-RDEPEND="${DEPEND} sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd ${WORKDIR}
- cd ${S}
- if [ ! -z "`use crypt`" ]
- then
- gunzip -c ${DISTDIR}/${P}.patch.gz | patch -p1 || die
- fi
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
diff --git a/sys-apps/util-linux/util-linux-2.11r.ebuild b/sys-apps/util-linux/util-linux-2.11r.ebuild
deleted file mode 100644
index 0ce95ad4fbef..000000000000
--- a/sys-apps/util-linux/util-linux-2.11r.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11r.ebuild,v 1.12 2003/02/13 16:21:16 vapier Exp $
-
-IUSE="nls"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz
- http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/${P}.patch.gz"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-KEYWORDS="x86 ppc sparc "
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-RDEPEND="${DEPEND} sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd ${WORKDIR}
- cd ${S}
- gunzip -c ${DISTDIR}/${P}.patch.gz | patch -p1 || die
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
diff --git a/sys-apps/util-linux/util-linux-2.11t.ebuild b/sys-apps/util-linux/util-linux-2.11t.ebuild
deleted file mode 100644
index 6fe2c53bfd3d..000000000000
--- a/sys-apps/util-linux/util-linux-2.11t.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11t.ebuild,v 1.7 2003/02/13 16:21:21 vapier Exp $
-
-IUSE="crypt nls"
-
-CRYPT_PATCH_P=${PN}-${PV/1t/1r}
-S=${WORKDIR}/${P}
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz
- crypt? ( http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/${CRYPT_PATCH_P}.patch.gz )"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-KEYWORDS="x86 ppc sparc "
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-
-RDEPEND="$DEPEND sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- cd ${S}
-
- if [ ! -z "`use crypt`" ]
- then
- gunzip -c ${DISTDIR}/${CRYPT_PATCH_P}.patch.gz | patch -p1 || die
- fi
-
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
-
diff --git a/sys-apps/util-linux/util-linux-2.11u.ebuild b/sys-apps/util-linux/util-linux-2.11u.ebuild
deleted file mode 100644
index 8054f1d4f153..000000000000
--- a/sys-apps/util-linux/util-linux-2.11u.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11u.ebuild,v 1.9 2003/02/13 16:21:27 vapier Exp $
-
-IUSE="crypt nls"
-
-CRYPT_PATCH_P=${PN}-${PV/1u/1r}
-S=${WORKDIR}/${P}
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz
- crypt? ( http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/${CRYPT_PATCH_P}.patch.gz )"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-KEYWORDS="x86 ppc sparc alpha"
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-
-RDEPEND="$DEPEND sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- cd ${S}
-
- if [ ! -z "`use crypt`" ]
- then
- gunzip -c ${DISTDIR}/${CRYPT_PATCH_P}.patch.gz | patch -p1 || die
- fi
-
- patch -p0 < ${FILESDIR}/${P}-gentoo.patch
-
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
-
diff --git a/sys-apps/util-linux/util-linux-2.11w.ebuild b/sys-apps/util-linux/util-linux-2.11w.ebuild
deleted file mode 100644
index a57550c0785d..000000000000
--- a/sys-apps/util-linux/util-linux-2.11w.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11w.ebuild,v 1.4 2003/02/13 16:21:33 vapier Exp $
-
-IUSE="crypt nls"
-
-CRYPT_PATCH_P=${PN}-${PV/1w/1r}
-S=${WORKDIR}/${P}
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.gz
- crypt? ( http://www.kernel.org/pub/linux/kernel/people/hvr/util-linux-patch-int/${CRYPT_PATCH_P}.patch.gz )"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha"
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-
-RDEPEND="$DEPEND sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-SLOT="0"
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- cd ${S}
-
- if [ ! -z "`use crypt`" ]
- then
- gunzip -c ${DISTDIR}/${CRYPT_PATCH_P}.patch.gz | patch -p1 || die
- fi
-
- patch -p0 < ${FILESDIR}/util-linux-2.11u-gentoo.patch || die
-
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
-
diff --git a/sys-apps/util-linux/util-linux-2.11z.ebuild b/sys-apps/util-linux/util-linux-2.11z.ebuild
deleted file mode 100644
index 072763a765f8..000000000000
--- a/sys-apps/util-linux/util-linux-2.11z.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11z.ebuild,v 1.3 2003/02/13 16:21:50 vapier Exp $
-
-IUSE="crypt nls"
-
-inherit eutils flag-o-matic
-
-filter-flags -fPIC
-
-S=${WORKDIR}/${P}
-CRYPT_PATCH_P="${P}-crypt-gentoo"
-DESCRIPTION="Various useful Linux utilities"
-SRC_URI="http://www.kernel.org/pub/linux/utils/${PN}/${P}.tar.bz2
- crypt? ( mirror://gentoo/${CRYPT_PATCH_P}.patch.bz2 )"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
-
-RDEPEND="${DEPEND} sys-devel/perl
- nls? ( sys-devel/gettext )"
-
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- if [ ! -z "`use crypt`" ]
- then
- epatch ${DISTDIR}/${CRYPT_PATCH_P}.patch.bz2
- fi
-
- # Fix rare failures with -j4 or higher
- epatch ${FILESDIR}/${P}-parallel-make.patch
-
- cp MCONFIG MCONFIG.orig
- sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -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 "config"
-
- if [ -z "`use nls`" ]
- then
- cp defines.h defines.h.orig
- grep -v "ENABLE_NLS" \
- defines.h.orig > defines.h
- cp defines.h defines.h.orig
- grep -v "HAVE_libintl_h" \
- defines.h.orig > defines.h
-
- cp Makefile Makefile.orig
- sed -e "s:SUBDIRS=po \\\:SUBDIRS= \\\:g" \
- Makefile.orig > Makefile
- fi
-
- emake LDFLAGS="" || die
- cd sys-utils; makeinfo *.texi || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
-