From: "Cyprien Nicolas" <c.nicolas+gentoo@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/
Date: Sat, 26 Jan 2013 14:42:41 +0000 (UTC) [thread overview]
Message-ID: <1359211346.ce96f62ddc4684bd32fdc51853afd1d4e0e172f5.fulax@gentoo> (raw)
commit: ce96f62ddc4684bd32fdc51853afd1d4e0e172f5
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com>
AuthorDate: Sat Jan 26 14:42:26 2013 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Sat Jan 26 14:42:26 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=ce96f62d
dev-scheme/bigloo: version bump to 4.0a
Package-Manager: portage-2.2.0_alpha161
Manifest-Sign-Key: 0x3D79478FBE63A96F
---
dev-scheme/bigloo/bigloo-3.8a.ebuild | 243 --------------------
dev-scheme/bigloo/bigloo-3.8a_p3.ebuild | 243 --------------------
dev-scheme/bigloo/bigloo-3.8b.ebuild | 243 --------------------
.../{bigloo-3.8c.ebuild => bigloo-4.0a.ebuild} | 2 +-
4 files changed, 1 insertions(+), 730 deletions(-)
diff --git a/dev-scheme/bigloo/bigloo-3.8a.ebuild b/dev-scheme/bigloo/bigloo-3.8a.ebuild
deleted file mode 100644
index 6aa2890..0000000
--- a/dev-scheme/bigloo/bigloo-3.8a.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild b/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
deleted file mode 100644
index 4db2d42..0000000
--- a/dev-scheme/bigloo/bigloo-3.8a_p3.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8b.ebuild b/dev-scheme/bigloo/bigloo-3.8b.ebuild
deleted file mode 100644
index 6aa2890..0000000
--- a/dev-scheme/bigloo/bigloo-3.8b.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-Months=( "Dec" "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" )
-
-inherit elisp-common multilib eutils flag-o-matic java-pkg-opt-2
-
-MY_P=${PN}${PV/_p/-}
-MY_P=${MY_P/_alpha*/-alpha}
-MY_P=${MY_P/_beta*/-beta}
-
-# Handling of alpha and beta releases
-if [[ $PV = *_alpha* ]] || [[ $PV = *_beta* ]]; then
- date=${PV/*_alpha/}
- date=${date/*_beta/}
- year=${date:2:2}
- month=${date:4:2}
- if [ ${month:0:1} = "0" ]; then
- # Remove the initial "0" as 08 and 09 are considered as octal values
- month=${month:1:1}
- fi
- month=${Months[$month]}
- day=${date:6:2}
- MY_P="${MY_P}${day}${month}${year}"
-fi
-
-BGL_RELEASE=${PV/_*/}
-
-DESCRIPTION="Bigloo is a Scheme implementation."
-HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/bigloo.html"
-#SRC_URI="ftp://ftp-sop.inria.fr/members/Cyprien.Nicolas/mirror/${MY_P}.tar.gz"
-SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-#KEYWORDS=""
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa avahi bglpkg calendar crypto csv debug doc emacs flac gmp gstreamer java mail mp3 multimedia openpgp packrat sqlite srfi1 srfi27 ssl text threads web"
-REQUIRED_USE="
- alsa? ( multimedia )
- bglpkg? ( web )
- flac? ( alsa )
- gstreamer? ( multimedia threads )
- mp3? ( alsa )
- openpgp? ( crypto )
- packrat? ( srfi1 )
- srfi27? ( x86? ( gmp ) )
-"
-
-# bug 254916 for >=dev-libs/boehm-gc-7.1
-DEPEND=">=dev-libs/boehm-gc-7.1[threads?]
- alsa? ( media-libs/alsa-lib )
- avahi? ( net-dns/avahi )
- emacs? ( virtual/emacs )
- flac? ( media-libs/flac )
- gmp? ( dev-libs/gmp )
- gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
- java? ( >=virtual/jdk-1.5 app-arch/zip )
- mp3? ( media-sound/mpg123 )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
-"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-S=${WORKDIR}/${MY_P/-[ab]*/}
-
-SITEFILE="50bigloo-gentoo.el"
-
-pkg_pretend() {
- if use srfi27 && use amd64; then
- #TODO: 'dev-scheme/bigloo srfi27' in arch/amd64/package.use.mask?
- ewarn "srfi27 is known to only work on 32-bit architectures." \
- "This IUSE is ignored on amd64."
- fi
-}
-
-src_prepare() {
- # Removing bundled boehm-gc
- rm -rf gc || die
-
- # bug 354751: Fix '[a-z]' sed range for non ascii LC_COLLATE order
- sed 's/a-z/[:alpha:]/' -i configure autoconf/* || die 'sed s/a-z/[:alpha:]/ failed'
-
- java-pkg-opt-2_src_prepare
-}
-
-src_configure() {
- filter-flags -fomit-frame-pointer
-
- local myconf=""
-
- # Filter Zile emacs replacement. Bug #336717
- if use emacs; then
- myconf="--bee=full --emacs=${EMACS} --lispdir=${SITELISP}/${PN}"
- else
- myconf="--emacs=false"
- fi
-
- # Add JCFLAGS to the configure script
- # (api/{crypto,openpgp} jvm tests show failures)
- if use java; then
- sed -e "s/^\(jcflags=\)\(.*\)/\\1\"\\2 $(java-pkg_javac-args)\"/" \
- -e 's/jcflags=$jcflags/jcflags="$jcflags"/'\
- -i configure
- myconf="${myconf}
- --jvm=yes"
- fi
-
- # No pkglib/pkgcomp in IUSE, I don't see any need besides bglpkg
- # One or the other could be added upon user request
- if use bglpkg; then
- myconf="${myconf}
- --enable-bglpkg --enable-pkgcomp --enable-pkglib"
- else
- myconf="${myconf}
- --disable-bglpkg --disable-pkgcomp --disable-pkglib"
- fi
-
- # srfi27 management
- if use amd64; then
- myconf="${myconf}
- --disable-srfi27"
- else
- myconf="${myconf}
- $(use_enable srfi27)"
- fi
-
- # Put every non quoted configure opt into myconf, for the einfo below
- myconf="
- --prefix=/usr
- --libdir=/usr/$(get_libdir)
- --benchmark=yes
- --coflags=
- --customgc=no
- --sharedbde=no
- --sharedcompiler=no
- --strip=no
- $(use debug && echo --debug)
- ${myconf}
- $(use_enable alsa)
- $(use_enable avahi)
- $(use_enable calendar)
- $(use_enable crypto)
- $(use_enable csv)
- $(use_enable flac)
- $(use_enable gmp)
- $(use_enable gstreamer)
- $(use_enable mail)
- $(use_enable mp3 mpg123)
- $(use_enable multimedia)
- $(use_enable openpgp)
- $(use_enable packrat)
- --disable-phone
- $(use_enable sqlite)
- $(use_enable srfi1)
- $(use_enable ssl)
- $(use_enable text)
- $(use_enable threads)
- $(use_enable web)
-"
-
- einfo "Configuring bigloo with:" \
- "--ldflags=\"${LDFLAGS}\" $(echo ${myconf} | sed 's/\n\t\t/ /g')"
-
- # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
- # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
- ./configure --ldflags="${LDFLAGS}" ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake EFLAGS='-ldopt "$(LDFLAGS)"' || die "emake failed"
-
- if use emacs; then
- einfo "Compiling bee..."
- emake compile-bee EFLAGS='-ldopt "$(LDFLAGS)"' || die "compiling bee failed"
- fi
-}
-
-# default thinks that target doesn't exist
-src_test() {
- emake -j1 test || die "emake test failed"
-}
-
-src_install() {
- # Makefile:671:install: install-progs install-docs
- emake DESTDIR="${D}" install-progs || die "install failed"
-
- if use emacs; then
- einfo "Installing bee..."
- emake DESTDIR="${D}" install-bee || die "install-bee failed"
- einfo "Installing API-specific emacs files"
- cp -v "${S}"/api/*/emacs/*.el "${D}/${SITELISP}/${PN}"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- else
- # Fix EMACS*=false in Makefile.config
- sed -i \
- -e 's:^\(EMACS=\).*$:\1:' \
- -e 's:^\(EMACSBRAND=\).*$:\1:' \
- "${D}"/usr/$(get_libdir)/bigloo/${BGL_RELEASE}/Makefile.config \
- || die "sed !emacs in Makefile.config failed"
- fi
-
- dodoc ChangeLog README || die "dodoc failed"
- newdoc LICENSE COPYING || die "newdoc failed"
-
- pushd "${S}/manuals" &>/dev/null
- if use doc; then
- dohtml -r . || die "dohtml failed"
- doinfo *.info* || die "doinfo failed"
- fi
-
- for man in *.man; do
- newman ${man} ${man/.man/.1} || die "newman ${man} ${man/.man/.1} failed"
- done
- popd &>/dev/null
-
- # Remove created directories which remains empty
- pushd "${D}/usr" &>/dev/null
- rmdir -p doc/bigloo-${BGL_RELEASE} info man/man1 || die "rm empty dirs failed"
- popd &>/dev/null
-}
-
-pkg_preinst() {
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use emacs; then
- elisp-site-regen
- elog "In order to use the bee-mode, add"
- elog " (require 'bmacs)"
- elog "to your ~/.emacs file"
- fi
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/bigloo/bigloo-3.8c.ebuild b/dev-scheme/bigloo/bigloo-4.0a.ebuild
similarity index 99%
rename from dev-scheme/bigloo/bigloo-3.8c.ebuild
rename to dev-scheme/bigloo/bigloo-4.0a.ebuild
index f16dd07..fbd7e5e 100644
--- a/dev-scheme/bigloo/bigloo-3.8c.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.0a.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
next reply other threads:[~2013-01-26 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-26 14:42 Cyprien Nicolas [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-04 17:42 [gentoo-commits] proj/lisp:master commit in: dev-scheme/bigloo/ Cyprien Nicolas
2013-02-03 13:59 Cyprien Nicolas
2013-01-27 20:51 Cyprien Nicolas
2012-10-31 16:55 Cyprien Nicolas
2012-09-14 16:42 Cyprien Nicolas
2012-06-01 9:35 Cyprien Nicolas
2012-05-08 12:00 Cyprien Nicolas
2012-03-23 9:57 Cyprien Nicolas
2011-02-18 12:01 Cyprien Nicolas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359211346.ce96f62ddc4684bd32fdc51853afd1d4e0e172f5.fulax@gentoo \
--to=c.nicolas+gentoo@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox