From 42061aac38da027a284582c4fe59fa422e67597a Mon Sep 17 00:00:00 2001 From: "Andreas K. Huettel (dilfridge)" Date: Tue, 21 Sep 2010 00:59:23 +0200 Subject: [sci-electronics/klayout] Moving to tree --- sci-electronics/klayout/ChangeLog | 14 ---- sci-electronics/klayout/Manifest | 14 ---- .../klayout-0.19.3-Makefile.conf.linux-gentoo | 42 ----------- .../files/klayout-0.19.3-configureonly.patch | 37 ---------- .../files/klayout-0.20-Makefile.conf.linux-gentoo | 42 ----------- .../klayout/files/klayout-0.20-configureonly.patch | 37 ---------- .../klayout-0.20.2-Makefile.conf.linux-gentoo | 42 ----------- .../files/klayout-0.20.2-configureonly.patch | 37 ---------- sci-electronics/klayout/klayout-0.19.3.ebuild | 82 ---------------------- sci-electronics/klayout/klayout-0.20.2.ebuild | 82 ---------------------- sci-electronics/klayout/klayout-0.20.ebuild | 82 ---------------------- sci-electronics/klayout/metadata.xml | 8 --- 12 files changed, 519 deletions(-) delete mode 100644 sci-electronics/klayout/ChangeLog delete mode 100644 sci-electronics/klayout/Manifest delete mode 100644 sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo delete mode 100644 sci-electronics/klayout/files/klayout-0.19.3-configureonly.patch delete mode 100644 sci-electronics/klayout/files/klayout-0.20-Makefile.conf.linux-gentoo delete mode 100644 sci-electronics/klayout/files/klayout-0.20-configureonly.patch delete mode 100644 sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo delete mode 100644 sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch delete mode 100644 sci-electronics/klayout/klayout-0.19.3.ebuild delete mode 100644 sci-electronics/klayout/klayout-0.20.2.ebuild delete mode 100644 sci-electronics/klayout/klayout-0.20.ebuild delete mode 100644 sci-electronics/klayout/metadata.xml (limited to 'sci-electronics') diff --git a/sci-electronics/klayout/ChangeLog b/sci-electronics/klayout/ChangeLog deleted file mode 100644 index e2b0ff251..000000000 --- a/sci-electronics/klayout/ChangeLog +++ /dev/null @@ -1,14 +0,0 @@ -# ChangeLog for sci-electronics/klayout -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*klayout-0.20.2 (15 Jun 2010) - - 15 Jun 2010; Andreas K. Huettel (dilfridge) - +klayout-0.20.2.ebuild, +files/klayout-0.20.2-Makefile.conf.linux-gentoo, - +files/klayout-0.20.2-configureonly.patch: - Trivial version bump. Still needs proper rubyfication. - - 15 Jun 2010; Andreas K. Huettel (dilfridge) ChangeLog: - Initial import from sunrise. - diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest deleted file mode 100644 index 69479bd6f..000000000 --- a/sci-electronics/klayout/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX klayout-0.19.3-Makefile.conf.linux-gentoo 864 RMD160 46d2bf5799b48958478be0af937ae8b3dfa9423b SHA1 9ec3ca764a22f4bbd64c107a7d2ca10d4af12588 SHA256 a44ebecc995bdb21e93234c9b3ee5225656307ade1c928374ce47cd841107470 -AUX klayout-0.19.3-configureonly.patch 767 RMD160 658e32a3a6349571e43a8872ed4ae434c40ad556 SHA1 de03b3d17aa6d54ac5daa1e6c2dc7d10ed53e573 SHA256 b2aa5fed607d300f389c10e976343a38f2b2a32b4fcb74d3abd57ffaea165f28 -AUX klayout-0.20-Makefile.conf.linux-gentoo 864 RMD160 46d2bf5799b48958478be0af937ae8b3dfa9423b SHA1 9ec3ca764a22f4bbd64c107a7d2ca10d4af12588 SHA256 a44ebecc995bdb21e93234c9b3ee5225656307ade1c928374ce47cd841107470 -AUX klayout-0.20-configureonly.patch 767 RMD160 658e32a3a6349571e43a8872ed4ae434c40ad556 SHA1 de03b3d17aa6d54ac5daa1e6c2dc7d10ed53e573 SHA256 b2aa5fed607d300f389c10e976343a38f2b2a32b4fcb74d3abd57ffaea165f28 -AUX klayout-0.20.2-Makefile.conf.linux-gentoo 864 RMD160 46d2bf5799b48958478be0af937ae8b3dfa9423b SHA1 9ec3ca764a22f4bbd64c107a7d2ca10d4af12588 SHA256 a44ebecc995bdb21e93234c9b3ee5225656307ade1c928374ce47cd841107470 -AUX klayout-0.20.2-configureonly.patch 767 RMD160 658e32a3a6349571e43a8872ed4ae434c40ad556 SHA1 de03b3d17aa6d54ac5daa1e6c2dc7d10ed53e573 SHA256 b2aa5fed607d300f389c10e976343a38f2b2a32b4fcb74d3abd57ffaea165f28 -DIST klayout-0.19.3.tar.gz 1428534 RMD160 79efd5817d2d9f8e97039561aa5b9c281381c18d SHA1 6829f042aea70878fbc9e62f81109d45d5fc0525 SHA256 ba853af6f27c42faf4c15673eec8f4d534d373c2341ee3c4130825f88fcd3801 -DIST klayout-0.20.2.tar.gz 1582828 RMD160 925152f3173f180bc8611f59f239940bbd852183 SHA1 467af487053878f46662ddb144a44444088fbc8e SHA256 a87298bd77e61e2b64245d4fe133d68f579fcb490cc14b4889938e096bf1120f -DIST klayout-0.20.tar.gz 1579250 RMD160 b9f6269a0a2886a78d4da8862607331d288f1296 SHA1 c723900a0a071737cd42d1f082ff24d1cf48e0e0 SHA256 49961e31254ada29951d6a2d492684b71a1bed522e1457743c9f01bbbade0f30 -EBUILD klayout-0.19.3.ebuild 2006 RMD160 0b6886b025b20ba6afcb88fcf4b6df83a3f2f8e6 SHA1 8924709d31490909859949d0a573a8baf1e13f65 SHA256 70d19681ce4a6a560dab89932cd8b9217328971d396ecd25ebe12cad066548e2 -EBUILD klayout-0.20.2.ebuild 2006 RMD160 0b6886b025b20ba6afcb88fcf4b6df83a3f2f8e6 SHA1 8924709d31490909859949d0a573a8baf1e13f65 SHA256 70d19681ce4a6a560dab89932cd8b9217328971d396ecd25ebe12cad066548e2 -EBUILD klayout-0.20.ebuild 2006 RMD160 0b6886b025b20ba6afcb88fcf4b6df83a3f2f8e6 SHA1 8924709d31490909859949d0a573a8baf1e13f65 SHA256 70d19681ce4a6a560dab89932cd8b9217328971d396ecd25ebe12cad066548e2 -MISC ChangeLog 509 RMD160 26effc663e6d194111ceef95087f77f11617d0e9 SHA1 7c1c0b8b36b7f0bb0ce5835b75b36c234dbea875 SHA256 d08cabe55d12d27c9d6b5053a10a55d16d277b04ec96215c0e4c04de5b075c13 -MISC metadata.xml 225 RMD160 aa7d7690bc9d41aa160500739ec29a5aecb24958 SHA1 a7fa143a3c80636c1f82827063de2327d4380d57 SHA256 3b760abcba804d12e90e8101abef730ff1be333e8c01f273f7a05e68f5f1df88 diff --git a/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo b/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo deleted file mode 100644 index d1e8baf52..000000000 --- a/sci-electronics/klayout/files/klayout-0.19.3-Makefile.conf.linux-gentoo +++ /dev/null @@ -1,42 +0,0 @@ - -# Configuration file for gentoo-linux -# Compiler options - -CCOPT_DEP=-MM -MG -x c++ - -CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \ - -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing - -CCOPT=-c -x c++ $(CXXFLAGS) -o -CCOPT_SO=-fPIC $(CCOPT) - -INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE) - -DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT - -# Linker options - -LOPT=-Wl,-E -o -LOPT_SO=-shared -fPIC -o - -LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt - -LINK=$(CXX) - -# The details for the install target (needed since 0.19.2) - -.PHONY: install -install: - mkdir -p $(INSTALL_BINDIR) - cp main/$(EXEC_NAME) $(INSTALL_BINDIR) - for bin in $(OTHER_BIN) ; \ - do \ - cp main/$$bin $(INSTALL_BINDIR) ; \ - done - for plugin in $(PLUGINS) ; \ - do \ - cp $$plugin/*.so $(INSTALL_BINDIR) ; \ - done - chmod 755 $(INSTALL_BINDIR) $(INSTALL_BINDIR)/* - - diff --git a/sci-electronics/klayout/files/klayout-0.19.3-configureonly.patch b/sci-electronics/klayout/files/klayout-0.19.3-configureonly.patch deleted file mode 100644 index 74c2e7816..000000000 --- a/sci-electronics/klayout/files/klayout-0.19.3-configureonly.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- klayout-0.18.1/build.sh 2009-08-02 15:17:12.000000000 -0400 -+++ klayout-0.18.1/build.sh.new 2009-09-18 16:15:47.000000000 -0400 -@@ -237,34 +237,3 @@ - echo "Building plugins: $PLUGINS" - echo "" - --# -- Running build -- -- --echo "Running build .." --echo "$MAKE_PRG" --cd $BUILD --$MAKE_PRG $MAKE_OPT all || exit 1 --echo "" -- --cd $CURR_DIR -- --# -- Installing binaries -- -- --echo "Installing binaries .." --cd $BUILD --$MAKE_PRG install --cd $CURR_DIR --echo "Build done." -- --if [ $WIN_CYGWIN = 0 ]; then -- echo "" -- echo "Final binary is ready in $BIN/$EXEC_NAME." -- echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" -- echo "$QTLIB" -- -- LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH -- $BIN/$EXEC_NAME -v -- $BIN/$EXEC_NAME -h --fi -- --exit 0 -- diff --git a/sci-electronics/klayout/files/klayout-0.20-Makefile.conf.linux-gentoo b/sci-electronics/klayout/files/klayout-0.20-Makefile.conf.linux-gentoo deleted file mode 100644 index d1e8baf52..000000000 --- a/sci-electronics/klayout/files/klayout-0.20-Makefile.conf.linux-gentoo +++ /dev/null @@ -1,42 +0,0 @@ - -# Configuration file for gentoo-linux -# Compiler options - -CCOPT_DEP=-MM -MG -x c++ - -CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \ - -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing - -CCOPT=-c -x c++ $(CXXFLAGS) -o -CCOPT_SO=-fPIC $(CCOPT) - -INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE) - -DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT - -# Linker options - -LOPT=-Wl,-E -o -LOPT_SO=-shared -fPIC -o - -LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt - -LINK=$(CXX) - -# The details for the install target (needed since 0.19.2) - -.PHONY: install -install: - mkdir -p $(INSTALL_BINDIR) - cp main/$(EXEC_NAME) $(INSTALL_BINDIR) - for bin in $(OTHER_BIN) ; \ - do \ - cp main/$$bin $(INSTALL_BINDIR) ; \ - done - for plugin in $(PLUGINS) ; \ - do \ - cp $$plugin/*.so $(INSTALL_BINDIR) ; \ - done - chmod 755 $(INSTALL_BINDIR) $(INSTALL_BINDIR)/* - - diff --git a/sci-electronics/klayout/files/klayout-0.20-configureonly.patch b/sci-electronics/klayout/files/klayout-0.20-configureonly.patch deleted file mode 100644 index 74c2e7816..000000000 --- a/sci-electronics/klayout/files/klayout-0.20-configureonly.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- klayout-0.18.1/build.sh 2009-08-02 15:17:12.000000000 -0400 -+++ klayout-0.18.1/build.sh.new 2009-09-18 16:15:47.000000000 -0400 -@@ -237,34 +237,3 @@ - echo "Building plugins: $PLUGINS" - echo "" - --# -- Running build -- -- --echo "Running build .." --echo "$MAKE_PRG" --cd $BUILD --$MAKE_PRG $MAKE_OPT all || exit 1 --echo "" -- --cd $CURR_DIR -- --# -- Installing binaries -- -- --echo "Installing binaries .." --cd $BUILD --$MAKE_PRG install --cd $CURR_DIR --echo "Build done." -- --if [ $WIN_CYGWIN = 0 ]; then -- echo "" -- echo "Final binary is ready in $BIN/$EXEC_NAME." -- echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" -- echo "$QTLIB" -- -- LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH -- $BIN/$EXEC_NAME -v -- $BIN/$EXEC_NAME -h --fi -- --exit 0 -- diff --git a/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo b/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo deleted file mode 100644 index d1e8baf52..000000000 --- a/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo +++ /dev/null @@ -1,42 +0,0 @@ - -# Configuration file for gentoo-linux -# Compiler options - -CCOPT_DEP=-MM -MG -x c++ - -CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \ - -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing - -CCOPT=-c -x c++ $(CXXFLAGS) -o -CCOPT_SO=-fPIC $(CCOPT) - -INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE) - -DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT - -# Linker options - -LOPT=-Wl,-E -o -LOPT_SO=-shared -fPIC -o - -LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt - -LINK=$(CXX) - -# The details for the install target (needed since 0.19.2) - -.PHONY: install -install: - mkdir -p $(INSTALL_BINDIR) - cp main/$(EXEC_NAME) $(INSTALL_BINDIR) - for bin in $(OTHER_BIN) ; \ - do \ - cp main/$$bin $(INSTALL_BINDIR) ; \ - done - for plugin in $(PLUGINS) ; \ - do \ - cp $$plugin/*.so $(INSTALL_BINDIR) ; \ - done - chmod 755 $(INSTALL_BINDIR) $(INSTALL_BINDIR)/* - - diff --git a/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch b/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch deleted file mode 100644 index 74c2e7816..000000000 --- a/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- klayout-0.18.1/build.sh 2009-08-02 15:17:12.000000000 -0400 -+++ klayout-0.18.1/build.sh.new 2009-09-18 16:15:47.000000000 -0400 -@@ -237,34 +237,3 @@ - echo "Building plugins: $PLUGINS" - echo "" - --# -- Running build -- -- --echo "Running build .." --echo "$MAKE_PRG" --cd $BUILD --$MAKE_PRG $MAKE_OPT all || exit 1 --echo "" -- --cd $CURR_DIR -- --# -- Installing binaries -- -- --echo "Installing binaries .." --cd $BUILD --$MAKE_PRG install --cd $CURR_DIR --echo "Build done." -- --if [ $WIN_CYGWIN = 0 ]; then -- echo "" -- echo "Final binary is ready in $BIN/$EXEC_NAME." -- echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:" -- echo "$QTLIB" -- -- LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH -- $BIN/$EXEC_NAME -v -- $BIN/$EXEC_NAME -h --fi -- --exit 0 -- diff --git a/sci-electronics/klayout/klayout-0.19.3.ebuild b/sci-electronics/klayout/klayout-0.19.3.ebuild deleted file mode 100644 index 916e1e022..000000000 --- a/sci-electronics/klayout/klayout-0.19.3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts" -HOMEPAGE="http://www.klayout.de/" -SRC_URI="http://www.klayout.de/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ruby" - -RDEPEND="x11-libs/qt-gui:4[qt3support] - ruby? ( dev-lang/ruby )" - -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-configureonly.patch" - - # now we generate the stub build configuration file for the home-brew build system - cp "${FILESDIR}/${P}-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die -} - -src_configure() { - local rbinc rblib rbflags - - if use ruby ; then - - # get the location of the ruby.h header file - rbinc=$(ruby -rrbconfig -e "puts Config::CONFIG['archdir'] || Config::CONFIG['rubyhdrdir']") - - # get the filename of libruby.so - rblib=$(ruby -rrbconfig -e "puts Config::CONFIG['LIBRUBY']") - - rbflags="-rblib /usr/$(get_libdir)/${rblib} -rbinc ${rbinc}" - - fi - - ./build.sh \ - -platform linux-gentoo \ - -bin bin \ - -qtbin /usr/bin \ - -qtinc /usr/include/qt4 \ - -qtlib /usr/$(get_libdir)/qt4 \ - ${rbflags} || die "Configuration failed" -} - -src_compile() { - cd build.linux-gentoo - tc-export CC CXX AR LD RANLIB - export AR="${AR} -r" - emake all || die "Build failed" -} - -src_install() { - cd build.linux-gentoo - emake install || die "make install failed" - - cd .. - dobin \ - bin/klayout \ - bin/strm2gds \ - bin/strm2oas \ - bin/strmclip \ - bin/strmcmp || die "Installation of binaries failed" - - insinto /usr/share/${PN}/testdata/gds - doins testdata/gds/*.gds || die "Installation of gds testdata failed" - insinto /usr/share/${PN}/testdata/oasis - doins testdata/oasis/*.oas testdata/oasis/*.ot || die "Installation of oasis testdata failed" - - if use ruby; then - insinto /usr/share/${PN} - doins -r testdata/ruby || die "Installation of ruby testdata failed" - fi -} diff --git a/sci-electronics/klayout/klayout-0.20.2.ebuild b/sci-electronics/klayout/klayout-0.20.2.ebuild deleted file mode 100644 index 916e1e022..000000000 --- a/sci-electronics/klayout/klayout-0.20.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts" -HOMEPAGE="http://www.klayout.de/" -SRC_URI="http://www.klayout.de/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ruby" - -RDEPEND="x11-libs/qt-gui:4[qt3support] - ruby? ( dev-lang/ruby )" - -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-configureonly.patch" - - # now we generate the stub build configuration file for the home-brew build system - cp "${FILESDIR}/${P}-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die -} - -src_configure() { - local rbinc rblib rbflags - - if use ruby ; then - - # get the location of the ruby.h header file - rbinc=$(ruby -rrbconfig -e "puts Config::CONFIG['archdir'] || Config::CONFIG['rubyhdrdir']") - - # get the filename of libruby.so - rblib=$(ruby -rrbconfig -e "puts Config::CONFIG['LIBRUBY']") - - rbflags="-rblib /usr/$(get_libdir)/${rblib} -rbinc ${rbinc}" - - fi - - ./build.sh \ - -platform linux-gentoo \ - -bin bin \ - -qtbin /usr/bin \ - -qtinc /usr/include/qt4 \ - -qtlib /usr/$(get_libdir)/qt4 \ - ${rbflags} || die "Configuration failed" -} - -src_compile() { - cd build.linux-gentoo - tc-export CC CXX AR LD RANLIB - export AR="${AR} -r" - emake all || die "Build failed" -} - -src_install() { - cd build.linux-gentoo - emake install || die "make install failed" - - cd .. - dobin \ - bin/klayout \ - bin/strm2gds \ - bin/strm2oas \ - bin/strmclip \ - bin/strmcmp || die "Installation of binaries failed" - - insinto /usr/share/${PN}/testdata/gds - doins testdata/gds/*.gds || die "Installation of gds testdata failed" - insinto /usr/share/${PN}/testdata/oasis - doins testdata/oasis/*.oas testdata/oasis/*.ot || die "Installation of oasis testdata failed" - - if use ruby; then - insinto /usr/share/${PN} - doins -r testdata/ruby || die "Installation of ruby testdata failed" - fi -} diff --git a/sci-electronics/klayout/klayout-0.20.ebuild b/sci-electronics/klayout/klayout-0.20.ebuild deleted file mode 100644 index 916e1e022..000000000 --- a/sci-electronics/klayout/klayout-0.20.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts" -HOMEPAGE="http://www.klayout.de/" -SRC_URI="http://www.klayout.de/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ruby" - -RDEPEND="x11-libs/qt-gui:4[qt3support] - ruby? ( dev-lang/ruby )" - -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-configureonly.patch" - - # now we generate the stub build configuration file for the home-brew build system - cp "${FILESDIR}/${P}-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die -} - -src_configure() { - local rbinc rblib rbflags - - if use ruby ; then - - # get the location of the ruby.h header file - rbinc=$(ruby -rrbconfig -e "puts Config::CONFIG['archdir'] || Config::CONFIG['rubyhdrdir']") - - # get the filename of libruby.so - rblib=$(ruby -rrbconfig -e "puts Config::CONFIG['LIBRUBY']") - - rbflags="-rblib /usr/$(get_libdir)/${rblib} -rbinc ${rbinc}" - - fi - - ./build.sh \ - -platform linux-gentoo \ - -bin bin \ - -qtbin /usr/bin \ - -qtinc /usr/include/qt4 \ - -qtlib /usr/$(get_libdir)/qt4 \ - ${rbflags} || die "Configuration failed" -} - -src_compile() { - cd build.linux-gentoo - tc-export CC CXX AR LD RANLIB - export AR="${AR} -r" - emake all || die "Build failed" -} - -src_install() { - cd build.linux-gentoo - emake install || die "make install failed" - - cd .. - dobin \ - bin/klayout \ - bin/strm2gds \ - bin/strm2oas \ - bin/strmclip \ - bin/strmcmp || die "Installation of binaries failed" - - insinto /usr/share/${PN}/testdata/gds - doins testdata/gds/*.gds || die "Installation of gds testdata failed" - insinto /usr/share/${PN}/testdata/oasis - doins testdata/oasis/*.oas testdata/oasis/*.ot || die "Installation of oasis testdata failed" - - if use ruby; then - insinto /usr/share/${PN} - doins -r testdata/ruby || die "Installation of ruby testdata failed" - fi -} diff --git a/sci-electronics/klayout/metadata.xml b/sci-electronics/klayout/metadata.xml deleted file mode 100644 index 7fe18f12b..000000000 --- a/sci-electronics/klayout/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - no-herd - - mail@akhuettel.de - - -- cgit v1.2.3