new version
authorMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 09:06:18 +0000 (09:06 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Sun, 20 Oct 2002 09:06:18 +0000 (09:06 +0000)
17 files changed:
sys-devel/automake/ChangeLog
sys-devel/automake/automake-1.4_p5.ebuild [deleted file]
sys-devel/automake/automake-1.5d-r2.ebuild [deleted file]
sys-devel/automake/automake-1.6.3.ebuild [new file with mode: 0644]
sys-devel/automake/files/digest-automake-1.4_p5 [deleted file]
sys-devel/automake/files/digest-automake-1.5d-r2 [deleted file]
sys-devel/automake/files/digest-automake-1.6.3 [new file with mode: 0644]
sys-devel/bison/ChangeLog
sys-devel/bison/bison-1.28-r3.ebuild [deleted file]
sys-devel/bison/bison-1.30.ebuild [deleted file]
sys-devel/bison/bison-1.32.ebuild [deleted file]
sys-devel/bison/bison-1.75.ebuild [moved from sys-devel/bison/bison-1.34.ebuild with 50% similarity]
sys-devel/bison/files/digest-bison-1.28-r3 [deleted file]
sys-devel/bison/files/digest-bison-1.30 [deleted file]
sys-devel/bison/files/digest-bison-1.32 [deleted file]
sys-devel/bison/files/digest-bison-1.34 [deleted file]
sys-devel/bison/files/digest-bison-1.75 [new file with mode: 0644]

index 1d1f10db2a321faeff03effe277f42cfbc2b8f91..335ab93de7fe3834b320282ab0424ec91d5b800d 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/automake
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.13 2002/09/23 18:28:25 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/ChangeLog,v 1.14 2002/10/20 09:06:18 azarah Exp $
+
+automake-1.6.3 (20 Oct 2002)
+
+  20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+  Update version.
 
   23 Sep 2002; Martin Schlemmer <azarah@gentoo.org> am-wrapper.pl-1.6 :
   Firstly, 'am-wrapper.pl' is based on 'ac-wrapper.pl'.  This is a nifty
diff --git a/sys-devel/automake/automake-1.4_p5.ebuild b/sys-devel/automake/automake-1.4_p5.ebuild
deleted file mode 100644 (file)
index 5357d50..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.4_p5.ebuild,v 1.9 2002/10/04 06:33:08 vapier Exp $
-
-MY_P=${P/_/-}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Used to generate Makefile.in from Makefile.am"
-SRC_URI="ftp://prep.ai.mit.edu/gnu/automake/${MY_P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/automake/automake.html"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc sparc64"
-
-DEPEND="sys-devel/perl"
-
-SLOT="1.4"
-
-src_compile() {
-       ./configure --prefix=/usr \
-               --infodir=/usr/share/info \
-               --host=${CHOST} || die
-               
-       make ${MAKEOPTS} || die
-}
-
-src_install() {
-       make prefix=${D}/usr \
-               infodir=${D}/usr/share/info \
-               install || die
-               
-       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
-}
-
-
diff --git a/sys-devel/automake/automake-1.5d-r2.ebuild b/sys-devel/automake/automake-1.5d-r2.ebuild
deleted file mode 100644 (file)
index 2db7600..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.5d-r2.ebuild,v 1.8 2002/10/04 06:33:11 vapier Exp $
-
-OLD_PV=1.4-p5
-OLD_P=${PN}-${OLD_PV}
-S=${WORKDIR}/${P}
-OLD_S=${WORKDIR}/${OLD_P}
-DESCRIPTION="Used to generate Makefile.in from Makefile.am"
-SRC_URI="ftp://sources.redhat.com/pub/${PN}/${P}.tar.bz2
-       ftp://ftp.gnu.org/gnu/${PN}/${OLD_P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/automake/automake.html"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc sparc64"
-
-DEPEND="sys-devel/perl
-       >=sys-devel/autoconf-2.52-r1"
-               
-SLOT="1.5"
-
-src_compile() {
-
-       #
-       # ************ automake-1.5x ************
-       #
-
-       # stupid configure script goes and run autoconf in a subdir,
-       # so 'ac-wrapper.pl' do not detect that it should use
-       # autoconf-2.5x
-       export WANT_AUTOCONF_2_5=1
-       
-       cd ${S}
-
-       cp automake.texi automake.texi.orig
-       sed -e "s:setfilename automake.info:setfilename automake-1.5.info:" \
-               automake.texi.orig >automake.texi
-       
-       ./configure --prefix=/usr \
-               --infodir=/usr/share/info \
-               --mandir=/usr/share/man \
-               --target=${CHOST} || die
-       
-       emake ${MAKEOPTS} || die
-
-       unset WANT_AUTOCONF_2_5
-
-       #
-       # ************ automake-1.4-p5 ************
-       #
-       cd ${OLD_S}
-       ./configure --prefix=/usr \
-               --infodir=/usr/share/info \
-               --mandir=/usr/share/man \
-               --target=${CHOST} || die
-               
-       emake ${MAKEOPTS} || die
-}
-
-src_install() {
-
-       # install wrapper script for autodetecting the proper version
-       # to use.
-       exeinto /usr/lib/${PN}
-       newexe ${FILESDIR}/am-wrapper.pl-1.5 am-wrapper.pl
-       dosed "s:1\.5x:${PV}:g" /usr/lib/${PN}/am-wrapper.pl
-
-       #
-       # ************ automake-1.5x ************
-       #
-
-       cd ${S}
-       make DESTDIR=${D} \
-               install || die
-
-       for x in automake aclocal
-       do
-               mv ${D}/usr/bin/${x}-${PV} ${D}/usr/bin/${x}-${PV}
-               rm -f ${D}/usr/bin/${x}
-       done
-
-       doinfo automake-1.5.info*
-
-       docinto ${PV}
-       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
-
-       #
-       # ************ automake-1.4-p5 ************
-       #
-
-    cd ${OLD_S}
-       make prefix=${D}/usr \
-               mandir=${D}/usr/share/man \
-               infodir=${D}/usr/share/info \
-               install || die
-
-       for x in automake aclocal
-       do
-               mv ${D}/usr/bin/${x} ${D}/usr/bin/${x}-1.4
-               dosym ../lib/${PN}/am-wrapper.pl /usr/bin/${x}
-       done
-
-       docinto ${OLD_PV}
-       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
-}
-
-pkg_preinst() {
-       
-       # remove these to make sure symlinks install properly if old versions
-       # was binaries
-       for x in automake aclocal
-       do
-               if [ -e /usr/bin/${x} ]
-               then
-                       rm -f /usr/bin/${x}
-               fi
-       done
-}
-
diff --git a/sys-devel/automake/automake-1.6.3.ebuild b/sys-devel/automake/automake-1.6.3.ebuild
new file mode 100644 (file)
index 0000000..f6e8875
--- /dev/null
@@ -0,0 +1,322 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# /space/gentoo/cvsroot/gentoo-x86/sys-devel/automake/automake-1.6.1.ebuild,v 1.4 2002/04/23 19:42:16 azarah Exp
+
+# OLD14 = 1.4
+# OLD15 = 1.5
+# NEW = 1.6 (.3)
+
+# NOTE:  For all of those brave souls out there that wants to fix
+#        or update this, note that all three versions install
+#        .m4 files to /usr/share/aclocal-${ver}/ and .am files
+#        to /usr/share/automake-${ver}/.  We then add the default
+#        /usr/share/aclocal/ to aclocal's search path by adding
+#        "push (@dirlist, \"/usr/share/aclocal\");" after @dirlist
+#        is defined the first time (done in fix_bins() function).
+#
+#        The theory thus is, all version specific data goes into
+#        version specific directories, but programs like ogg/whatever
+#        can still install thier .m4 macros into /usr/share/aclocal/.
+#
+#        Martin Schlemmer <azarah@gentoo.org>
+#        19 May 2002
+
+
+# Currently this is 1.6, but it could change to 1.6.x as it
+# does with 1.5d ... to determine this, install latest version
+# of 1.6, and look at the generated files in the bin dir ..
+# it should be something like (for 1.6.1):
+#
+# nosferatu automake-1.6.1 # ls /myinstallroot/bin/
+# aclocal  aclocal-1.6  automake  automake-1.6
+# nosferatu automake-1.6.1 #
+#
+# You should then set NEW_PV to 1.6, as this is the suffix
+NEW_PV=1.6
+
+OLD15_PV=1.5
+OLD15_P=${PN}-${OLD15_PV}
+OLD14_PV=1.4-p5
+OLD14_P=${PN}-${OLD14_PV}
+S=${WORKDIR}/${P}
+OLD15_S=${WORKDIR}/${OLD15_P}
+OLD14_S=${WORKDIR}/${OLD14_P}
+DESCRIPTION="Used to generate Makefile.in from Makefile.am"
+SRC_URI="ftp://ftp.gnu.org/gnu/${PN}/${P}.tar.gz
+       ftp://ftp.gnu.org/gnu/${PN}/${OLD15_P}.tar.gz
+       ftp://ftp.gnu.org/gnu/${PN}/${OLD14_P}.tar.gz"
+HOMEPAGE="http://www.gnu.org/software/automake/automake.html"
+
+LICENSE="GPL-2"
+SLOT="1.5"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+
+DEPEND="sys-devel/perl
+       >=sys-devel/autoconf-2.53-r1"
+
+
+src_unpack() {
+
+       unpack ${A}
+
+       cd ${OLD15_S}
+       patch -p1 <${FILESDIR}/${PN}-${OLD15_PV}-target_hook.patch || die
+}
+
+src_compile() {
+
+       #
+       # ************ automake-1.6x ************
+       #
+
+       # stupid configure script goes and run autoconf in a subdir,
+       # so 'ac-wrapper.pl' do not detect that it should use
+       # autoconf-2.5x
+       export WANT_AUTOCONF_2_5=1
+       
+       cd ${S}
+
+       perl -pi -e "s:setfilename automake.info:setfilename automake-1.6.info:" \
+               automake.texi
+       
+       ./configure --prefix=/usr \
+               --infodir=/usr/share/info \
+               --mandir=/usr/share/man \
+               --target=${CHOST} || die
+       
+       emake || die
+
+       #
+       # ************ automake-1.5x ************
+       #
+
+       cd ${OLD15_S}
+
+       perl -pi -e "s:setfilename automake.info:setfilename automake-1.5.info:" \
+               automake.texi
+       
+       ./configure --prefix=/usr \
+               --infodir=/usr/share/info \
+               --mandir=/usr/share/man \
+               --target=${CHOST} || die
+       
+       emake || die
+       unset WANT_AUTOCONF_2_5
+
+       #
+       # ************ automake-1.4-p5 ************
+       #
+       cd ${OLD14_S}
+       ./configure --prefix=/usr \
+               --infodir=/usr/share/info \
+               --mandir=/usr/share/man \
+               --target=${CHOST} || die
+               
+       emake || die
+}
+
+# This basically fix aclocal and automake so that they
+# use the correct directories, and also adds the normal
+# /usr/share/aclocal for aclocal to include.
+fix_bins() {
+       
+       for x in aclocal automake
+       do
+               perl -pi -e "s:share/automake\":share/automake-${1}\":g" ${x}
+               perl -pi -e "s:share/aclocal\":share/aclocal-${1}\":g" ${x}
+       done
+       
+       # add "/usr/share/aclocal" to m4 search patch
+       cp aclocal aclocal.orig
+       sed -e '/&scan_m4_files (@dirlist);/i \push (@dirlist, \"/usr/share/aclocal\");' \
+               aclocal.orig > aclocal
+       # same as above, but 1.4 looks a bit differently
+       cp aclocal aclocal.orig
+       sed -e '/&scan_m4_files ($acdir, @dirlist);/i \push (@dirlist, \"/usr/share/aclocal\");' \
+               aclocal.orig > aclocal
+       # "aclocal --print-ac-dir" should return "/usr/share/aclocal"
+       cp aclocal aclocal.orig
+       sed -e 's:print $acdir:print "/usr/share/aclocal":' \
+               aclocal.orig > aclocal
+}
+
+src_install() {
+
+       # install wrapper script for autodetecting the proper version
+       # to use.
+       exeinto /usr/lib/${PN}
+       newexe ${FILESDIR}/am-wrapper.pl-1.6 am-wrapper.pl
+       # Name binaries to exact version, as they have limited support for
+       # more than one version installs
+       dosed "s:1\.6x:${NEW_PV}:g" /usr/lib/${PN}/am-wrapper.pl
+       dosed "s:1\.5x:${OLD15_PV}:g" /usr/lib/${PN}/am-wrapper.pl
+
+       #
+       # ************ automake-1.6x ************
+       #
+
+       cd ${S}
+# not needed for 1.6.3
+#      fix_bins ${NEW_PV}
+       
+       make DESTDIR=${D} \
+               install || die
+
+       for x in automake aclocal
+       do
+#              mv ${D}/usr/bin/${x} ${D}/usr/bin/${x}-${NEW_PV}
+               rm -f ${D}/usr/bin/${x}
+       done
+
+       doinfo automake-1.6.info*
+
+       docinto ${PV}
+       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
+
+       #
+       # ************ automake-1.5x ************
+       #
+
+       cd ${OLD15_S}
+       fix_bins ${OLD15_PV}
+       
+       make DESTDIR=${D} \
+               pkgdatadir=/usr/share/automake-${OLD15_PV} \
+               m4datadir=/usr/share/aclocal-${OLD15_PV} \
+               install || die
+
+       for x in automake aclocal
+       do
+               mv ${D}/usr/bin/${x} ${D}/usr/bin/${x}-${OLD15_PV}
+               rm -f ${D}/usr/bin/${x}
+       done
+
+       doinfo automake-1.5.info*
+
+       docinto ${OLD15_PV}
+       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
+
+       #
+       # ************ automake-1.4-p5 ************
+       #
+
+       cd ${OLD14_S}
+       fix_bins "1.4"
+
+       # Ignore duplicates like automake-1.5 and 1.6
+       patch -p0 <${FILESDIR}/${PN}-1.4_p5-ignore-duplicates.patch || die
+       
+       make DESTDIR=${D} \
+               pkgdatadir=/usr/share/automake-1.4 \
+               m4datadir=/usr/share/aclocal-1.4 \
+               install || die
+
+       for x in automake aclocal
+       do
+               mv ${D}/usr/bin/${x} ${D}/usr/bin/${x}-1.4
+               dosym ../lib/${PN}/am-wrapper.pl /usr/bin/${x}
+       done
+
+       docinto ${OLD14_PV}
+       dodoc COPYING NEWS README THANKS TODO AUTHORS ChangeLog
+
+       #
+       # ************ misc stuff ****************
+       
+       # Some packages needs a /usr/share/automake directory
+       dosym automake-1.4 /usr/share/automake
+
+       # This is the default macro directory that apps use ..
+       dodir /usr/share/aclocal
+       touch ${D}/usr/share/aclocal/.keep
+}
+
+pkg_preinst() {
+       
+       # remove these to make sure symlinks install properly if old versions
+       # was binaries
+       for x in automake aclocal
+       do
+               if [ -e ${ROOT}/usr/bin/${x} ]
+               then
+                       rm -f ${ROOT}/usr/bin/${x}
+               fi
+       done
+
+       # nuke this if it is a directory, as the new one is a symlink
+       if [ -d ${ROOT}/usr/share/automake ]
+       then
+               rm -rf ${ROOT}/usr/share/automake
+       fi
+
+       # Make sure we move all the macros not installed with automake
+       # to the non version specific aclocal dir.
+       if [ ! -d ${ROOT}/usr/share/aclocal ]
+       then
+               mkdir -p ${ROOT}/usr/share/aclocal
+       fi
+       if [ -d ${OLD14_S}/m4 ] && [ -d ${ROOT}/usr/share/aclocal-1.4 ]
+       then
+               for x in ${ROOT}/usr/share/aclocal-1.4/*.m4
+               do
+                       if [ ! -f ${OLD14_S}/m4/${x##*/} ]
+                       then
+                               if [ ! -f ${ROOT}/usr/share/aclocal/${x##*/} ]
+                               then
+                                       einfo "Moving ${x} to aclocal..."
+                                       mv -f ${x} ${ROOT}/usr/share/aclocal
+                               else
+                                       einfo "Deleting duplicate ${x}..."
+                                       rm -f ${x}
+                               fi
+                       fi
+               done
+       fi
+       if [ -d ${OLD15_S}/m4 ] && [ -d ${ROOT}/usr/share/aclocal-${OLD15_PV} ]
+       then
+               for x in ${ROOT}/usr/share/aclocal-${OLD15_PV}/*.m4
+               do
+                       if [ ! -f ${OLD15_S}/m4/${x##*/} ]
+                       then
+                               if [ ! -f ${ROOT}/usr/share/aclocal/${x##*/} ]
+                               then
+                                       einfo "Moving ${x} to aclocal..."
+                                       mv -f ${x} ${ROOT}/usr/share/aclocal
+                               else
+                                       einfo "Deleting duplicate ${x}..."
+                                       rm -f ${x}
+                               fi
+                       fi
+               done
+       fi
+       if [ -d ${S}/m4 ] && [ -d ${ROOT}/usr/share/aclocal-${NEW_PV} ]
+       then
+               for x in ${ROOT}/usr/share/aclocal-${NEW_PV}/*.m4
+               do
+                       if [ ! -f ${S}/m4/${x##*/} ]
+                       then
+                               if [ ! -f ${ROOT}/usr/share/aclocal/${x##*/} ]
+                               then
+                                       einfo "Moving ${x} to aclocal..."
+                                       mv -f ${x} ${ROOT}/usr/share/aclocal
+                               else
+                                       einfo "Deleting duplicate ${x}..."
+                                       rm -f ${x}
+                               fi
+                       fi
+               done
+       fi
+}
+
+pkg_postinst() {
+
+       # nuke duplicate macros
+       for x in ${ROOT}/usr/share/aclocal-1.4/*.m4
+       do
+               if [ -f ${ROOT}/usr/share/aclocal/${x##*/} ]
+               then
+                       rm -f ${ROOT}/usr/share/aclocal/${x##*/}
+               fi
+       done
+}
+
diff --git a/sys-devel/automake/files/digest-automake-1.4_p5 b/sys-devel/automake/files/digest-automake-1.4_p5
deleted file mode 100644 (file)
index 8d7cff9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e10679bba411f8602eed004012d915e3 automake-1.4-p5.tar.gz 376992
diff --git a/sys-devel/automake/files/digest-automake-1.5d-r2 b/sys-devel/automake/files/digest-automake-1.5d-r2
deleted file mode 100644 (file)
index feb51fd..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 78b3eb4d3d593ceaa32c1d33d6abcdf6 automake-1.5d.tar.bz2 455041
-MD5 e10679bba411f8602eed004012d915e3 automake-1.4-p5.tar.gz 376992
diff --git a/sys-devel/automake/files/digest-automake-1.6.3 b/sys-devel/automake/files/digest-automake-1.6.3
new file mode 100644 (file)
index 0000000..2d51a1b
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 2bd506db63b6d10458cb644b6171ce93 automake-1.6.3.tar.gz 609618
+MD5 74a22ac0581378e807ecb334a55c5bab automake-1.5.tar.gz 526934
+MD5 e10679bba411f8602eed004012d915e3 automake-1.4-p5.tar.gz 376992
index 0f5554491f59af83d01d89690889451d43992ba5..8f124a1938b997de0f480a3e15586081a04b428b 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-devel/bison
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.4 2002/08/17 02:49:44 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.5 2002/10/20 09:05:26 azarah Exp $
+
+*bison-1.75 (20 Oct 2002)
+
+  20 Oct 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+  Update version.
 
 *bison-1.35 (09 Aug 2002)
 
diff --git a/sys-devel/bison/bison-1.28-r3.ebuild b/sys-devel/bison/bison-1.28-r3.ebuild
deleted file mode 100644 (file)
index 2cdc2e2..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.28-r3.ebuild,v 1.9 2002/10/05 05:39:26 drobbins Exp $
-
-IUSE="nls static build"
-
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="A yacc-compatible parser generator"
-SRC_URI="ftp://prep.ai.mit.edu/gnu/bison/${A}"
-HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="x86 sparc sparc64"
-DEPEND="virtual/glibc
-        nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc"
-
-src_compile() {
-
-    local myconf
-    if [ -z "`use nls`" ]
-    then
-        myconf="--disable-nls"
-    fi
-
-    try ./configure --prefix=/usr ${myconf} --datadir=/usr/share/bison \
-        --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST}
-
-    if [ -z "`use static`" ]
-    then
-        try make ${MAKEOPTS}
-    else
-        try make ${MAKEOPTS} LDFLAGS=-static
-    fi
-
-}
-
-src_install() {                               
-
-    try make prefix=${D}/usr datadir=${D}/usr/share/bison \
-        mandir=${D}/usr/share/man infodir=${D}/usr/share/info install
-
-    if [ -z "`use build`" ]
-    then
-        dodoc COPYING AUTHORS NEWS ChangeLog README REFERENCES OChangeLog
-        docinto txt
-        dodoc doc/FAQ
-    else
-        rm -rf ${D}/usr/share/man ${D}/usr/share/info
-    fi
-
-}
-
-
diff --git a/sys-devel/bison/bison-1.30.ebuild b/sys-devel/bison/bison-1.30.ebuild
deleted file mode 100644 (file)
index 3282e6a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.30.ebuild,v 1.8 2002/10/05 05:39:26 drobbins Exp $
-
-IUSE="nls static build"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="A yacc-compatible parser generator"
-SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/bison/${P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc sparc64"
-
-DEPEND="virtual/glibc
-        nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc"
-
-src_compile() {
-
-       local myconf
-       if [ -z "`use nls`" ]
-       then
-               myconf="--disable-nls"
-       fi
-
-       ./configure --prefix=/usr ${myconf} --datadir=/usr/share \
-               --mandir=/usr/share/man --infodir=/usr/share/info --host=${CHOST} || die
-
-       if [ -z "`use static`" ]
-       then
-               emake ${MAKEOPTS} || die
-       else
-               emake ${MAKEOPTS} LDFLAGS=-static || die
-       fi
-
-}
-
-src_install() {                               
-
-       make prefix=${D}/usr datadir=${D}/usr/share \
-               mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die
-
-       if [ -z "`use build`" ]
-       then
-               dodoc COPYING AUTHORS NEWS ChangeLog README REFERENCES OChangeLog
-               docinto txt
-               dodoc doc/FAQ
-       else
-               rm -rf ${D}/usr/share/man ${D}/usr/share/info
-       fi
-       
-}
-
-
diff --git a/sys-devel/bison/bison-1.32.ebuild b/sys-devel/bison/bison-1.32.ebuild
deleted file mode 100644 (file)
index 61d972b..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.32.ebuild,v 1.7 2002/10/05 05:39:26 drobbins Exp $
-
-IUSE="nls static build"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="A yacc-compatible parser generator"
-SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/bison/${P}.tar.gz"
-HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc sparc64"
-
-DEPEND="virtual/glibc
-        nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc"
-
-src_compile() {
-
-       local myconf
-       if [ -z "`use nls`" ]
-       then
-               myconf="--disable-nls"
-       fi
-
-       ./configure --prefix=/usr \
-               --datadir=/usr/share \
-               --mandir=/usr/share/man \
-               --infodir=/usr/share/info \
-               --host=${CHOST} \
-               ${myconf} || die
-
-       if [ -z "`use static`" ]
-       then
-               emake ${MAKEOPTS} || die
-       else
-               emake ${MAKEOPTS} LDFLAGS=-static || die
-       fi
-}
-
-src_install() {                               
-
-       make prefix=${D}/usr \
-               datadir=${D}/usr/share \
-               mandir=${D}/usr/share/man \
-               infodir=${D}/usr/share/info \
-               install || die
-
-       if [ -z "`use build`" ]
-       then
-               dodoc COPYING AUTHORS NEWS ChangeLog README REFERENCES OChangeLog
-               docinto txt
-               dodoc doc/FAQ
-       else
-               rm -rf ${D}/usr/share/man ${D}/usr/share/info
-       fi
-}
-
similarity index 50%
rename from sys-devel/bison/bison-1.34.ebuild
rename to sys-devel/bison/bison-1.75.ebuild
index 0705c7d82986a61d55b8840be37b5e59f31053d5..787643d7730a090d7cfda5e456a3da194aa28bdd 100644 (file)
@@ -1,49 +1,42 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.34.ebuild,v 1.6 2002/10/05 05:39:26 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.75.ebuild,v 1.1 2002/10/20 09:05:26 azarah Exp $
 
 IUSE="nls static build"
 
-S=${WORKDIR}/${P}
+S="${WORKDIR}/${P}"
 DESCRIPTION="A yacc-compatible parser generator"
 SRC_URI="ftp://ftp.gnu.org/pub/gnu/bison/${P}.tar.gz"
 HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
+
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="x86 sparc sparc64"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
 
-DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
-RDEPEND="virtual/glibc"
+DEPEND="nls? ( sys-devel/gettext )"
 
 src_compile() {
 
-       local myconf
-       if [ -z "`use nls`" ]
-       then
-               myconf="--disable-nls"
-       fi
+       local myconf=""
+       
+       use nls || myconf="--disable-nls"
 
-       ./configure --prefix=/usr \
-               --datadir=/usr/share \
-               --mandir=/usr/share/man \
-               --infodir=/usr/share/info \
-               --host=${CHOST} \
-               ${myconf} || die
+       econf ${myconf} || die
 
        if [ -z "`use static`" ]
        then
-               emake ${MAKEOPTS} || die
+               emake || die
        else
-               emake ${MAKEOPTS} LDFLAGS=-static || die
+               emake LDFLAGS="-static" || die
        fi
 }
 
 src_install() {                               
 
-       make prefix=${D}/usr \
-               datadir=${D}/usr/share \
-               mandir=${D}/usr/share/man \
-               infodir=${D}/usr/share/info \
+       make DESTDIR=${D} \
+               datadir=/usr/share \
+               mandir=/usr/share/man \
+               infodir=/usr/share/info \
                install || die
 
        if [ -z "`use build`" ]
diff --git a/sys-devel/bison/files/digest-bison-1.28-r3 b/sys-devel/bison/files/digest-bison-1.28-r3
deleted file mode 100644 (file)
index 0f7eafb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4afb3989f2270043c47c3daa1fa7ffab bison-1.28.tar.gz 420341
diff --git a/sys-devel/bison/files/digest-bison-1.30 b/sys-devel/bison/files/digest-bison-1.30
deleted file mode 100644 (file)
index dd6bf0d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9f86a4166cf9146d0db1ec9a663d7d81 bison-1.30.tar.gz 655552
diff --git a/sys-devel/bison/files/digest-bison-1.32 b/sys-devel/bison/files/digest-bison-1.32
deleted file mode 100644 (file)
index d28a67e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e82867ca1ca34623dc83bbf22ed23a86 bison-1.32.tar.gz 721047
diff --git a/sys-devel/bison/files/digest-bison-1.34 b/sys-devel/bison/files/digest-bison-1.34
deleted file mode 100644 (file)
index f46fb39..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 33ec6e34914a62ef5c4617efba9f3f30 bison-1.34.tar.gz 731400
diff --git a/sys-devel/bison/files/digest-bison-1.75 b/sys-devel/bison/files/digest-bison-1.75
new file mode 100644 (file)
index 0000000..e49443e
--- /dev/null
@@ -0,0 +1 @@
+MD5 b1d4c7b1d2f73ec0ba624c07c0aba79c bison-1.75.tar.gz 976651