mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-devel/lcc: update SRC_URI
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST 3fd0acc0c3087411c0966d725a56be29038c05a9.tar.gz 636724 BLAKE2B 9fffbda4e888d79c672d2da25cec4132848ce5f8cadd99f128645389377230b491ef3d2f3c550774df6ae82fd6304addcd1f00d6d0da79440ea510b0d97d5600 SHA512 f954509307136632408a219ccefa3e85a05538553c17aec72556979370fa795076a574033c6f7d2b51ca30218665fddd3b576b00fdb6327ae09f0e0c041d428a
|
||||
DIST lcc-2021.01.11.gh.tar.gz 636724 BLAKE2B 9fffbda4e888d79c672d2da25cec4132848ce5f8cadd99f128645389377230b491ef3d2f3c550774df6ae82fd6304addcd1f00d6d0da79440ea510b0d97d5600 SHA512 f954509307136632408a219ccefa3e85a05538553c17aec72556979370fa795076a574033c6f7d2b51ca30218665fddd3b576b00fdb6327ae09f0e0c041d428a
|
||||
|
||||
@@ -9,11 +9,13 @@ inherit cmake
|
||||
DESCRIPTION="The lcc retargetable ANSI C compiler"
|
||||
HOMEPAGE="https://drh.github.io/lcc/"
|
||||
SHA='3fd0acc0c3087411c0966d725a56be29038c05a9'
|
||||
SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz"
|
||||
SRC_URI="https://github.com/drh/lcc/archive/${SHA}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
# Build using CMake, still missing some features.
|
||||
PATCHES=( "${FILESDIR}/add_cmake_support.patch" )
|
||||
|
||||
S="${WORKDIR}/${PN}-${SHA}"
|
||||
|
||||
LICENSE="lcc"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -22,24 +24,23 @@ KEYWORDS="~amd64"
|
||||
#DEPEND=""
|
||||
#RDEPEND="${DEPEND}"
|
||||
#BDEPEND=""
|
||||
S="${WORKDIR}/${PN}-${SHA}"
|
||||
|
||||
src_install() {
|
||||
doman "doc/bprint.1"
|
||||
doman "doc/lcc.1"
|
||||
into "/usr/lib/lcc"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
|
||||
doman "doc/bprint.1"
|
||||
doman "doc/lcc.1"
|
||||
into "/usr/lib/lcc"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/cpp/cpp"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/etc/bprint"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/etc/lcc"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/lburg/lburg"
|
||||
dobin "${WORKDIR}/${PN}-${SHA}_build/src/rcc"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you had installed the previous version of this ebuild (lcc-2021.01.11),"
|
||||
ewarn "there was a file collision that deleted the GNU's /usr/bin/cpp by LCC's own /usr/bin/cpp."
|
||||
ewarn "So make sure to run the following commands :"
|
||||
ewarn "gcc-config -l"
|
||||
ewarn "gcc-config -f the_gcc_config_of_the_previous_command"
|
||||
ewarn "The new package lcc-2021.01.11-r1 doesn't adds LCC to PATH anymore."
|
||||
}
|
||||
ewarn "If you had installed the previous version of this ebuild (lcc-2021.01.11),"
|
||||
ewarn "there was a file collision that deleted the GNU's /usr/bin/cpp by LCC's own /usr/bin/cpp."
|
||||
ewarn "So make sure to run the following commands :"
|
||||
ewarn "gcc-config -l"
|
||||
ewarn "gcc-config -f the_gcc_config_of_the_previous_command"
|
||||
ewarn "The new package lcc-2021.01.11-r1 doesn't adds LCC to PATH anymore."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user