dev-ada: remove gnat-suite-bin

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2021-09-19 17:29:11 +02:00
parent f4e8fd6d11
commit fae14d2058
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
4 changed files with 0 additions and 207 deletions

View File

@ -1,2 +0,0 @@
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f
DIST gnat-suite-bin-2018.txz 337235688 BLAKE2B cf1b8f0253907b8fc97b9c7218b23dcda8f1557be5e12293eab59e09427418a8814c1bafbcb3f89c1e5dd755a161c5dfa8a852631d137f17acb3167bf51dadbb SHA512 9b57709c05a121b0a0adabe3232128e3f27659d1928857fbd6883b73a7487c3d457317e8f236df3d16ced635514af8afbafc584cc74d865e11288820ac9c4f77

View File

@ -1,109 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
MYP=gnat-gpl-${PV}
DESCRIPTION="GNAT Ada suite"
HOMEPAGE="http://libre.adacore.com/"
SRC_URI="http://mirrors.cdn.adacore.com/art/591c6d80c7a447af2deed1d7
-> ${MYP}-x86_64-linux-bin.tar.gz"
LICENSE="GPL-2 GPL-3"
SLOT="${PV}"
KEYWORDS="amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
sys-devel/binutils
sys-devel/gdb
sys-libs/gdbm
sys-libs/ncurses-compat
"
S="${WORKDIR}"/${MYP}-x86_64-linux-bin
PREFIX=/opt/${P}
src_prepare() {
default
rm Makefile
cd share/examples/gnat
cat header.xml \
full_project/full.xml \
options/options.xml \
other_languages/cpp_main/cpp_main.xml \
other_languages/cpp_pragmas/cpp_pragmas.xml \
other_languages/import_from_c/import_from_c.xml \
plugins/plugins.xml \
stream_io/stream_io.xml \
simple_project/simple_project.xml \
starter/starter.xml \
xml_stream/xml_stream.xml \
containers/anagram/anagram.xml \
containers/genealogy/genealogy.xml \
containers/hash/hash.xml \
containers/library/library.xml \
containers/shapes/shapes.xml \
containers/spellcheck/spellcheck.xml \
containers/wordcount/wordcount.xml \
containers/wordfreq/wordfreq.xml \
oo_interfaces/oo_interfaces.xml \
oo_airline/oo_airline.xml \
altivec/altivec.xml \
footer.xml \
> gnat-examples.xml \
|| die
sed -i \
-e "s:PREFIX:${PREFIX}:" \
gnat-examples.xml || die
cd ../../..
# Remove objects from binutils
cd bin
rm addr2line ar c++filt gprof ld.* nm obj* r* s* || die
cd ..
rm share/doc/gnat/info/{as,bfd,binutils,ld}.info || die
# Remove objects from gdb
cd bin
rm gdb gdbserver gcore || die
cd ..
rm -r include/gdb || die
rm lib*/libinproctrace.so || die
rm -r share/gdb-* || die
rm share/doc/gnat/info/gdb.info || die
basever=6.3.1
machine=x86_64-pc-linux-gnu
rm libexec//gcc/${machine}/${basever}/ld || die
}
src_install() {
into ${PREFIX}
dobin bin/*
insinto ${PREFIX}
doins -r etc include lib* share
insinto ${PREFIX}/share/gps/plug-ins
doins share/examples/gnat/gnat-examples.xml
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper
fperms 755 ${PREFIX}/libexec/gprbuild/gprbind
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
einfo "commands enable you to do this:"
einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)"
einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)"
einfo " Thank you for installing GNAT GPL Edition"
}

View File

@ -1,89 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
MYP=gnat-gpl-${PV}
DESCRIPTION="GNAT Ada suite"
HOMEPAGE="http://libre.adacore.com/"
# Extracted and repacked from http://mirrors.cdn.adacore.com/art/5b0d7bffa3f5d709751e3e04
SRC_URI="https://dev.gentoo.org/~tupone/distfiles/${P}.txz"
LICENSE="GPL-2 GPL-3"
SLOT="${PV}"
KEYWORDS="amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
sys-devel/binutils
sys-devel/gdb
sys-libs/gdbm
sys-libs/ncurses-compat
"
PREFIX=/opt/${P}
src_prepare() {
default
rm Makefile
cd share/examples/gnat
cat header.xml \
full_project/full.xml \
options/options.xml \
other_languages/cpp_main/cpp_main.xml \
other_languages/cpp_pragmas/cpp_pragmas.xml \
other_languages/import_from_c/import_from_c.xml \
plugins/plugins.xml \
stream_io/stream_io.xml \
simple_project/simple_project.xml \
starter/starter.xml \
xml_stream/xml_stream.xml \
containers/anagram/anagram.xml \
containers/genealogy/genealogy.xml \
containers/hash/hash.xml \
containers/library/library.xml \
containers/shapes/shapes.xml \
containers/spellcheck/spellcheck.xml \
containers/wordcount/wordcount.xml \
containers/wordfreq/wordfreq.xml \
oo_interfaces/oo_interfaces.xml \
oo_airline/oo_airline.xml \
altivec/altivec.xml \
footer.xml \
> gnat-examples.xml \
|| die
sed -i \
-e "s:PREFIX:${PREFIX}:" \
gnat-examples.xml || die
}
src_install() {
into ${PREFIX}
dobin bin/*
insinto ${PREFIX}
doins -r etc include lib* share
insinto ${PREFIX}/share/gps/plug-ins
doins share/examples/gnat/gnat-examples.xml
basever=7.3.1
machine=x86_64-pc-linux-gnu
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper
fperms 755 ${PREFIX}/libexec/gprbuild/gprbind
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
einfo "commands enable you to do this:"
einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)"
einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)"
einfo " Thank you for installing GNAT GPL Edition"
}

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ada@gentoo.org</email>
</maintainer>
</pkgmetadata>