summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-05-28 20:22:26 +0200
committerBertrand Jacquin <beber@meleeweb.net>2013-05-28 23:30:13 +0200
commit7e4efab2fc3e6c186c0768a5e6847d022e76955e (patch)
tree9f926b74bae09fcfbfb12f6ffb46df979c9767ea /dev-util
parentmedia-tv/enna: fix ISUE, delete old release (diff)
downloadportage-7e4efab2fc3e6c186c0768a5e6847d022e76955e.tar.xz
delete old codeworker stuff
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/codeworker/Manifest2
-rw-r--r--dev-util/codeworker/codeworker-4.1.1.ebuild109
2 files changed, 0 insertions, 111 deletions
diff --git a/dev-util/codeworker/Manifest b/dev-util/codeworker/Manifest
deleted file mode 100644
index 22330427..00000000
--- a/dev-util/codeworker/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST CodeWorker_SRC4_1_1.zip 3035271 RMD160 fb64b71e98f38cbdba32c4f33317faf81c985ea2 SHA1 3053cdf3b3abaea5dfc47b11e1600af73e7c6e71 SHA256 5a8d8556b26fa35f6d4823299d7b7f03d092b5b8e67b9f029b6d37b09f3fdd71
-EBUILD codeworker-4.1.1.ebuild 2897 RMD160 6464a40bb43735e73f3e54ae8eb93cd8b4ed5dca SHA1 a363b08867151c8fa9f1b22f887616461490b4a5 SHA256 77583a1f5139658eac9a707ce6c61d1d9658f953db5fa5348707e697edc31916
diff --git a/dev-util/codeworker/codeworker-4.1.1.ebuild b/dev-util/codeworker/codeworker-4.1.1.ebuild
deleted file mode 100644
index 62d48789..00000000
--- a/dev-util/codeworker/codeworker-4.1.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DESCRIPTION="Versatile parsing tool and source code generator"
-HOMEPAGE="http://codeworker.free.fr/"
-SRC_URI="http://codeworker.free.fr/downloads/CodeWorker_SRC4_1_1.zip"
-
-LICENSE="LGPL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl debug doc examples readline static"
-RESTRICT="nomirror"
-
-DEPEND="app-arch/unzip
- curl? ( >=net-misc/curl-7.10.5 )
- debug? ( sys-devel/gdb )
- doc? ( app-text/tetex )
- readline? ( sys-libs/readline )"
-RDEPEND=""
-
-S="${WORKDIR}/CodeWorker4_1_1"
-
-src_unpack()
-{
- unpack ${A}
-
- # Convert Makefile to Unix
- sed -i -e 's/.$//' ${S}/Makefile
-
- # Remove -g if not in debug mode
- if ! use debug; then
- sed -i -re "s/^CXXFLAGS(.*)-g(.*)/CXXFLAGS\1\2/" ${S}/Makefile
- sed -i -re "s/^LFLAGS(.*)-g(.*)/LFLAGS\1\2/" ${S}/Makefile
- fi
-
- # Remove -ldl if not Linux
- if [ "$(uname -o)" != "GNU/Linux" ]; then
- sed -i -re 's/^LFLAGS(.*)-ldl(.*)/LFLAGS\1\2/' ${S}/Makefile
- fi
-
- if use curl; then
- local new_cc="$(grep -E '^CC' ${S}/Makefile) -DCODEWORKER_CURL_LIB"
- local new_lflags="$(grep -E '^LFLAGS' ${S}/Makefile) $(curl-config --libs)"
- sed -i -re "s;^CC(.*);${new_cc};" ${S}/Makefile
- sed -i -re "s;^LFLAGS(.*);${new_lflags};" ${S}/Makefile
- fi
-
- if use readline; then
- local new_cc="$(grep -E '^CC' ${S}/Makefile) -DCODEWORKER_GNU_READLINE"
- local new_lflags="$(grep -E '^LFLAGS' ${S}/Makefile) -lreadline -lcurses"
- sed -i -re "s;^CC(.*);${new_cc};" ${S}/Makefile
- sed -i -re "s;^LFLAGS(.*);${new_lflags};" ${S}/Makefile
- fi
-
- # Compile with -fPIC if you want to do a shared lib
- # And add static lib creation with shared lib creation
- if ! use static; then
- sed -i -re 's;^CXXFLAGS(.*);CXXFLAGS\1 -fPIC;' ${S}/Makefile
- sed -i -re 's;(.*)ar -r(.*);\t$(CC) -o libcodeworker.so -shared $(OBJECTS);' ${S}/Makefile
- fi
-}
-
-src_compile()
-{
- make || die "emake failed"
-
- if use doc; then
- cd Documentation
- einfo "latex CodeWorker.tex"
- latex CodeWorker.tex > /dev/null
- einfo "makeindex CodeWorker.idx"
- makeindex CodeWorker.idx > /dev/null
- einfo "latex CodeWorker.tex"
- latex CodeWorker.tex > /dev/null
- einfo "latex CodeWorker.tex"
- latex CodeWorker.tex > /dev/null
- einfo "dvipdfm -o CodeWorker.pdf CodeWorker"
- dvipdfm -o CodeWorker.pdf CodeWorker > /dev/null
- cd ..
- fi
-}
-
-src_install()
-{
- dodir /usr/bin
- dodir /usr/lib
-
- cp ${S}/codeworker ${D}/usr/bin
-
- if use static; then
- cp ${S}/libcodeworker.a ${D}/usr/lib
- else
- cp ${S}/libcodeworker.so ${D}/usr/lib
- fi
-
- if use doc; then
- dodir /usr/share/codeworker/doc
- cp ${S}/Documentation/CodeWorker.pdf ${D}/usr/share/codeworker/doc
- cp -r ${S}/WebSite ${S}/Scripts/Tutorial ${D}/usr/share/codeworker/doc
- fi
-
- if use examples; then
- dodir /usr/share/codeworker/examples
- cp -r ${S}/java ${S}/cs ${S}/Generation ${D}/usr/share/codeworker/examples
- fi
-
- dodoc readme.txt
-}