From 77398e424e45d9e98c1cef3c43bdadb9d56e81ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2019 13:21:36 +0000 Subject: gentoo resync : 10.11.2019 --- dev-libs/bglibs/Manifest | 2 +- dev-libs/bglibs/bglibs-2.04-r1.ebuild | 73 +++++++++++++++++++++++++++++++++++ dev-libs/bglibs/bglibs-2.04.ebuild | 73 ----------------------------------- 3 files changed, 74 insertions(+), 74 deletions(-) create mode 100644 dev-libs/bglibs/bglibs-2.04-r1.ebuild delete mode 100644 dev-libs/bglibs/bglibs-2.04.ebuild (limited to 'dev-libs/bglibs') diff --git a/dev-libs/bglibs/Manifest b/dev-libs/bglibs/Manifest index e1eae6490356..3a8698de0b6e 100644 --- a/dev-libs/bglibs/Manifest +++ b/dev-libs/bglibs/Manifest @@ -1,3 +1,3 @@ DIST bglibs-2.04.tar.gz 713673 BLAKE2B 9e1353b3221ef6a8cfb256ec8616d1e208777b20ecade3e6ae17faca6b42222e18aa601a948e6201139378bf6f8131a2b7a053d77b198176776d42a1af611186 SHA512 094268cad7d4bacf65c0dd3d42fde2e6bac34da0fd6193b1c8202c018e752b3ef80a86c38e687467fb3a4e97130126fe74ee4a86063e4b25ee291de573984a6f -EBUILD bglibs-2.04.ebuild 1663 BLAKE2B 8435eacaf2494ef267fe5f6b9b8d54b70229df63a5d4c86bcb218428d6c01bc673e15b955659267fa52c7c417be8719e32a8b1d22bfa4bd34fb77f8b7bb98787 SHA512 8e792b58d91a3b4158dde65f5548bcaac7a4a12d87d4bb221fe76c1c396fdd3069633e68b4180352255d36feb9cc9777d34c2db6c0db793a536a0dd933eda45a +EBUILD bglibs-2.04-r1.ebuild 1685 BLAKE2B d30e5e9a9951145377a18f636517b1d83f775a2412e3415f5eca9be8854a6b0865f12361f3dc56fa8c2a4b76264d7b75b5209a7a22d04a82691c94398e75c632 SHA512 da676ec549ba3e42c56545feced2a8a10a0d5889737b5cfe74ef6a62fd70bb02f669c263578f11e39c232b16b24d40da8aed2c90bc15e54d9f4e91d248ce7ad3 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/dev-libs/bglibs/bglibs-2.04-r1.ebuild b/dev-libs/bglibs/bglibs-2.04-r1.ebuild new file mode 100644 index 000000000000..4b3a3f1f7c4c --- /dev/null +++ b/dev-libs/bglibs/bglibs-2.04-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Bruce Guenter's Libraries Collection" +HOMEPAGE="https://untroubled.org/bglibs/" +SRC_URI="https://untroubled.org/bglibs/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/2" +KEYWORDS="alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~sparc x86" +IUSE="doc" + +RDEPEND="" +DEPEND="" +BDEPEND="sys-devel/libtool + doc? ( + app-doc/doxygen + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra + virtual/latex-base + ) +" + +src_prepare() { + default + # disable tests as we want them manually + sed -i '/^all:/s|selftests||' Makefile || die + sed -i '/selftests/d' TARGETS || die +} + +src_configure() { + echo "${ED}/usr/bin" > conf-bin || die + echo "${ED}/usr/$(get_libdir)/bglibs" > conf-lib || die + echo "${ED}/usr/include" > conf-include || die + echo "${ED}/usr/share/man" > conf-man || die + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die +} + +src_compile() { + default + if use doc; then + emake -C doc/latex pdf + fi +} + +src_test() { + einfo "Running selftests" + emake selftests +} + +src_install() { + default + + # Install .so into LDPATH + mv "${ED}"/usr/$(get_libdir)/bglibs/libbg.so.2.0.0 "${ED}"/usr/$(get_libdir)/ || die + dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so.2 + dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so + dosym ../libbg.so.2.0.0 /usr/$(get_libdir)/bglibs/libbg.so.2.0.0 + + rm "${ED}"/usr/$(get_libdir)/bglibs/libbg.la || die + + dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION + dodoc -r doc/html/ + if use doc; then + dodoc doc/latex/refman.pdf + fi +} diff --git a/dev-libs/bglibs/bglibs-2.04.ebuild b/dev-libs/bglibs/bglibs-2.04.ebuild deleted file mode 100644 index 3362b9fa56b5..000000000000 --- a/dev-libs/bglibs/bglibs-2.04.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Bruce Guenter's Libraries Collection" -HOMEPAGE="https://untroubled.org/bglibs/" -SRC_URI="https://untroubled.org/bglibs/archive/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/2" -KEYWORDS="alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~sparc x86" -IUSE="doc" - -RDEPEND="" -DEPEND="" -BDEPEND="sys-devel/libtool - doc? ( - app-doc/doxygen - dev-tex/xcolor - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - virtual/latex-base - ) -" - -src_prepare() { - default - # disable tests as we want them manually - sed -i '/^all:/s|selftests||' Makefile || die - sed -i '/selftests/d' TARGETS || die -} - -src_configure() { - echo "${ED}/usr/bin" > conf-bin || die - echo "${ED}/usr/$(get_libdir)/bglibs" > conf-lib || die - echo "${ED}/usr/include" > conf-include || die - echo "${ED}/usr/share/man" > conf-man || die - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die -} - -src_compile() { - default - if use doc; then - emake -C doc/latex pdf - fi -} - -src_test() { - einfo "Running selftests" - emake selftests -} - -src_install() { - default - - # Install .so into LDPATH - mv "${ED}"/usr/$(get_libdir)/bglibs/libbg.so.2.0.0 "${ED}"/usr/$(get_libdir)/ || die - dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so.2 - dosym libbg.so.2.0.0 /usr/$(get_libdir)/libbg.so - dosym ../libbg.so.2.0.0 /usr/$(get_libdir)/bglibs/libbg.so.2.0.0 - - rm "${ED}"/usr/$(get_libdir)/bglibs/libbg.la || die - - dodoc ANNOUNCEMENT NEWS README ChangeLog TODO VERSION - dodoc -r doc/html/ - if use doc; then - dodoc doc/latex/refman.pdf - fi -} -- cgit v1.2.3