diff options
author | Sam James <sam@gentoo.org> | 2023-05-21 20:18:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-21 20:35:09 +0100 |
commit | b3794f12bcea506f18feb2cd7c085d0873027b93 (patch) | |
tree | 14e1273133fe911daf012eb43b6086b4e8d81bd0 /app-doc | |
parent | dev-util/bazel: version bump (diff) | |
download | gentoo-b3794f12bcea506f18feb2cd7c085d0873027b93.tar.gz gentoo-b3794f12bcea506f18feb2cd7c085d0873027b93.tar.bz2 gentoo-b3794f12bcea506f18feb2cd7c085d0873027b93.zip |
app-doc/gnu-c-intro-ref: new package, add 0_pre20230521, 9999
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/gnu-c-intro-ref/Manifest | 1 | ||||
-rw-r--r-- | app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20230521.ebuild | 45 | ||||
-rw-r--r-- | app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild | 45 | ||||
-rw-r--r-- | app-doc/gnu-c-intro-ref/metadata.xml | 11 |
4 files changed, 102 insertions, 0 deletions
diff --git a/app-doc/gnu-c-intro-ref/Manifest b/app-doc/gnu-c-intro-ref/Manifest new file mode 100644 index 000000000000..b47e753099d6 --- /dev/null +++ b/app-doc/gnu-c-intro-ref/Manifest @@ -0,0 +1 @@ +DIST c-intro-and-ref-36a1041cfa542b8c00aa6daad2624797164d87f4.tar.gz 195859 BLAKE2B d2a6b32e1f19c88c947e3a98825cdf6eec8192a6e79b4eb9b47bbb69368e2dcb8bb6a6e77dbf05070b918aead7d60d72dd9afcd719a7c1f8d51793fe2ababaa0 SHA512 bd4bd01a24a941c7272d0e9e88867a1669779e390f50725c883bd18cd578899529d2179c919a0a4db386bcb59d3e485a3487b762ee499ee4585e9c579b802787 diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20230521.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20230521.ebuild new file mode 100644 index 000000000000..206a80678ffc --- /dev/null +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20230521.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU C Language Intro and Reference Manual" +HOMEPAGE="https://savannah.gnu.org/projects/c-intro-and-ref/" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/c-intro-and-ref.git" + inherit git-r3 +else + MY_COMMIT="36a1041cfa542b8c00aa6daad2624797164d87f4" + SRC_URI="https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/snapshot/c-intro-and-ref-${MY_COMMIT}.tar.gz" + S="${WORKDIR}"/c-intro-and-ref-${MY_COMMIT} + KEYWORDS="~amd64" +fi + +LICENSE="FDL-1.3+" +SLOT="0" +IUSE="pdf" + +BDEPEND=" + sys-apps/texinfo + pdf? ( + app-text/ghostscript-gpl + app-text/texlive-core + ) +" + +src_prepare() { + default + + eautoreconf +} + +src_compile() { + emake info html $(usev pdf 'pdf') +} + +src_install() { + emake DESTDIR="${D}" install-info install-html $(usev pdf 'install-pdf') +} diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild new file mode 100644 index 000000000000..206a80678ffc --- /dev/null +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU C Language Intro and Reference Manual" +HOMEPAGE="https://savannah.gnu.org/projects/c-intro-and-ref/" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/c-intro-and-ref.git" + inherit git-r3 +else + MY_COMMIT="36a1041cfa542b8c00aa6daad2624797164d87f4" + SRC_URI="https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/snapshot/c-intro-and-ref-${MY_COMMIT}.tar.gz" + S="${WORKDIR}"/c-intro-and-ref-${MY_COMMIT} + KEYWORDS="~amd64" +fi + +LICENSE="FDL-1.3+" +SLOT="0" +IUSE="pdf" + +BDEPEND=" + sys-apps/texinfo + pdf? ( + app-text/ghostscript-gpl + app-text/texlive-core + ) +" + +src_prepare() { + default + + eautoreconf +} + +src_compile() { + emake info html $(usev pdf 'pdf') +} + +src_install() { + emake DESTDIR="${D}" install-info install-html $(usev pdf 'install-pdf') +} diff --git a/app-doc/gnu-c-intro-ref/metadata.xml b/app-doc/gnu-c-intro-ref/metadata.xml new file mode 100644 index 000000000000..ba8bf116c4f5 --- /dev/null +++ b/app-doc/gnu-c-intro-ref/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <upstream> + <remote-id type="savannah">c-intro-and-ref</remote-id> + </upstream> +</pkgmetadata> |