mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-electronics/magic: drop 8.3.232-r1, 8.3.309-r2, 8.3.309-r3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST magic-8.3.232.tgz 4093446 BLAKE2B 6b4b49c2b1f566b0173bead0e95e381a6632b049545dc3b26572f415ba0df3958bc5c3931b686718136185cf105e437fe70dc1f71a11707ad33afac80ddf8f2f SHA512 755b27b8f263d990ca86b3f043e1b8f8a2de75d72f1baf9c4de3a1d7cde28feecf093d8bf1497f2632327d09ce0ce0b17ccea46bdba01c5b53c52ea0f5cf5fdc
|
||||
DIST magic-8.3.309.tgz 4175194 BLAKE2B dc63e74abf1a0fee75b1b018f58f73f0ed4ba7acb244aa0f427af1d4051a3344892ee8514a5f99827bd10c8ff44eac907a70150855db48fb97d0e4d436273893 SHA512 1abfd843f3d123bf532672c5e8c58d2c0f50e29ab017c21e4895810163eec430ba07c3b0dd8c571e47f1ce3bacfd37aa4cc667e4cecb3d53b3b7dd1c8205d8c2
|
||||
DIST magic-8.3.365.tgz 4206213 BLAKE2B 2a50843c166f55471db13400c047cc5b32e762ad90cefb170c03874427ebce3452a6f13ff1524897672bbd7418d9ace2366d22fba9641310882f505d3463c19f SHA512 8ac3933ae74f5953dfbcfaaeaddb8fded36aa9fe2e371808c53edb96f758451b7d75fd6c47666ae0624de5dbab335f6a2990427e1135165360ddc5ed8a33954d
|
||||
DIST magic-tech-mosis-2002a.tar.gz 6601961 BLAKE2B e34bc281b3f1bc032ba14954b781c8b0055bb9125c57944a5b5f595f8b22feb455c60f3230cf04f06bc41aa807e909d900e3d3ab746076e2c99dcbbdf51a71df SHA512 cb8e30df77e58eb37f7ada775db8a8411612897b1cdbcb59b0c4bd814fa73c6cb10a5461e27e9eecb0fe452e194ee95fbb02b568b86848e501b9c37cc24de39e
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -18,12 +18,10 @@
|
||||
all: $(ALL_TARGET)
|
||||
|
||||
standard:
|
||||
- @echo --- errors and warnings logged in file make.log
|
||||
- @${MAKE} mains 2>&1 | tee -a make.log | egrep -i "(.c:|Stop.|---)"
|
||||
+ @${MAKE} mains
|
||||
|
||||
tcl:
|
||||
- @echo --- errors and warnings logged in file make.log
|
||||
- @${MAKE} tcllibrary 2>&1 | tee -a make.log | egrep -i "(.c:|Stop.|---)"
|
||||
+ @${MAKE} tcllibrary
|
||||
|
||||
force: clean all
|
||||
|
||||
@@ -68,7 +66,7 @@
|
||||
install-magic:
|
||||
@echo --- installing executable to $(DESTDIR)${INSTALL_BINDIR}
|
||||
@echo --- installing runtime files to $(DESTDIR)${INSTALL_LIBDIR}
|
||||
- @${MAKE} install-real 2>&1 >> install.log
|
||||
+ @${MAKE} install-real
|
||||
|
||||
install-real: install-dirs
|
||||
for dir in ${INSTALL_CAD_DIRS}; do \
|
||||
@@ -89,7 +87,7 @@
|
||||
install-tcl:
|
||||
@echo --- installing executable to $(DESTDIR)${INSTALL_BINDIR}
|
||||
@echo --- installing runtime files to $(DESTDIR)${INSTALL_LIBDIR}
|
||||
- @${MAKE} install-tcl-real 2>&1 >> install.log
|
||||
+ @${MAKE} install-tcl-real
|
||||
|
||||
install-tcl-real: install-tcl-dirs
|
||||
for dir in ${INSTALL_CAD_DIRS} ${PROGRAMS}; do \
|
||||
@@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
TECH_MOSIS_VER="2002a"
|
||||
|
||||
DESCRIPTION="The VLSI design CAD tool"
|
||||
HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
|
||||
SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
|
||||
http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
|
||||
-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
|
||||
|
||||
LICENSE="HPND GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
IUSE="cairo debug opengl"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/blt
|
||||
cairo? ( x11-libs/cairo )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-shells/tcsh"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.3.232-libdir.patch
|
||||
"${FILESDIR}"/${PN}-8.3.232-verbose-build.patch
|
||||
)
|
||||
|
||||
DOCS=( README.md README.Tcl TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
pushd scripts &>/dev/null || die
|
||||
mv configure.in configure.ac || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
sed -i -e "s: -pg : :" tcltk/Makefile || die
|
||||
|
||||
# required for >=autoconf-2.70 (bug #775422)
|
||||
local ac_aux_file
|
||||
for ac_aux_file in install-sh config.guess config.sub ; do
|
||||
ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Short-circuit top-level configure script to retain CFLAGS
|
||||
# fix tcl/tk detection #447868
|
||||
cd scripts || die
|
||||
econf \
|
||||
--with-tcl=yes \
|
||||
--with-tcllibs="/usr/$(get_libdir)" \
|
||||
--with-tklibs="/usr/$(get_libdir)" \
|
||||
--disable-modular \
|
||||
$(use_enable debug memdebug) \
|
||||
$(use_enable cairo cairo-offscreen) \
|
||||
$(use_with opengl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Move docs from libdir to docdir and add symlink.
|
||||
mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
|
||||
rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
|
||||
dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
|
||||
|
||||
# Move tutorial from libdir to datadir and add symlink.
|
||||
dodir /usr/share/${PN}
|
||||
mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
|
||||
dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
|
||||
|
||||
# Install latest MOSIS tech files
|
||||
cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
TECH_MOSIS_VER="2002a"
|
||||
|
||||
DESCRIPTION="The VLSI design CAD tool"
|
||||
HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
|
||||
SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
|
||||
http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
|
||||
-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
|
||||
|
||||
LICENSE="HPND GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="cairo debug opengl"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:=
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/blt
|
||||
cairo? ( x11-libs/cairo )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-shells/tcsh
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.3.232-libdir.patch
|
||||
)
|
||||
|
||||
DOCS=( README.md README.Tcl TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
pushd scripts &>/dev/null || die
|
||||
mv configure.in configure.ac || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# required for >=autoconf-2.70 (bug #775422)
|
||||
local ac_aux_file
|
||||
for ac_aux_file in install-sh config.guess config.sub ; do
|
||||
ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Short-circuit top-level configure script to retain CFLAGS
|
||||
# Fix tcl/tk detection, bug #447868
|
||||
cd scripts || die
|
||||
econf \
|
||||
--with-tcl="/usr/$(get_libdir)" \
|
||||
--with-tk="/usr/$(get_libdir)" \
|
||||
--with-tcllibs="/usr/$(get_libdir)" \
|
||||
--with-tklibs="/usr/$(get_libdir)" \
|
||||
--disable-modular \
|
||||
$(use_enable debug memdebug) \
|
||||
$(use_enable cairo cairo-offscreen) \
|
||||
$(use_with opengl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Make does not always install required .tech files with parallel make install
|
||||
emake DESTDIR="${ED}" install -j1
|
||||
einstalldocs
|
||||
|
||||
# Move docs from libdir to docdir and add symlink.
|
||||
mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
|
||||
rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
|
||||
dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
|
||||
|
||||
# Move tutorial from libdir to datadir and add symlink.
|
||||
dodir /usr/share/${PN}
|
||||
mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
|
||||
dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
|
||||
|
||||
# Install latest MOSIS tech files
|
||||
cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
TECH_MOSIS_VER="2002a"
|
||||
|
||||
DESCRIPTION="The VLSI design CAD tool"
|
||||
HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
|
||||
SRC_URI="http://www.opencircuitdesign.com/${PN}/archive/${P}.tgz
|
||||
http://opencircuitdesign.com/~tim/programs/${PN}/archive/${TECH_MOSIS_VER}.tar.gz \
|
||||
-> ${PN}-tech-mosis-${TECH_MOSIS_VER}.tar.gz"
|
||||
|
||||
LICENSE="HPND GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="cairo debug opengl"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:=
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/blt
|
||||
cairo? ( x11-libs/cairo )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-shells/tcsh
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.3.232-libdir.patch
|
||||
)
|
||||
|
||||
DOCS=( README.md README.Tcl TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Don't embed MAGIC_COMMIT
|
||||
sed -i 's/git rev-parse HEAD//' scripts/defs.mak.in || die
|
||||
|
||||
pushd scripts &>/dev/null || die
|
||||
mv configure.in configure.ac || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# required for >=autoconf-2.70 (bug #775422)
|
||||
local ac_aux_file
|
||||
for ac_aux_file in install-sh config.guess config.sub ; do
|
||||
ln -s scripts/${ac_aux_file} ${ac_aux_file} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Short-circuit top-level configure script to retain CFLAGS
|
||||
# Fix tcl/tk detection, bug #447868
|
||||
cd scripts || die
|
||||
econf \
|
||||
--with-tcl="/usr/$(get_libdir)" \
|
||||
--with-tk="/usr/$(get_libdir)" \
|
||||
--with-tcllibs="/usr/$(get_libdir)" \
|
||||
--with-tklibs="/usr/$(get_libdir)" \
|
||||
--disable-modular \
|
||||
$(use_enable debug memdebug) \
|
||||
$(use_enable cairo cairo-offscreen) \
|
||||
$(use_with cairo) \
|
||||
$(use_with opengl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Make does not always install required .tech files with parallel make install
|
||||
emake DESTDIR="${ED}" install -j1
|
||||
einstalldocs
|
||||
|
||||
# Move docs from libdir to docdir and add symlink.
|
||||
mv "${ED}/usr/$(get_libdir)/magic/doc"/* "${ED}/usr/share/doc/${PF}/" || die
|
||||
rmdir "${ED}/usr/$(get_libdir)/magic/doc" || die
|
||||
dosym -r "${EPREFIX}/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc"
|
||||
|
||||
# Move tutorial from libdir to datadir and add symlink.
|
||||
dodir /usr/share/${PN}
|
||||
mv "${ED}/usr/$(get_libdir)/magic/tutorial" "${ED}/usr/share/${PN}/" || die
|
||||
dosym -r "${EPREFIX}/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial"
|
||||
|
||||
# Install latest MOSIS tech files
|
||||
cp -pPR "${WORKDIR}"/${TECH_MOSIS_VER} "${ED}"/usr/$(get_libdir)/magic/sys/current || die
|
||||
}
|
||||
Reference in New Issue
Block a user