Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
inf
Guix
Commits
50c7a1e2
Commit
50c7a1e2
authored
9 years ago
by
Ludovic Courtès
Browse files
Options
Downloads
Patches
Plain Diff
gnu: Add gnu-c-manual.
* gnu/packages/gcc.scm (gnu-c-manual): New variable.
parent
ac0922f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/gcc.scm
+51
-1
51 additions, 1 deletion
gnu/packages/gcc.scm
with
51 additions
and
1 deletion
gnu/packages/gcc.scm
+
51
−
1
View file @
50c7a1e2
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
(
define-module
(
gnu
packages
gcc
)
(
define-module
(
gnu
packages
gcc
)
#
:use-module
((
guix
licenses
)
#
:use-module
((
guix
licenses
)
#
:select
(
gpl3+
gpl2+
lgpl2
.
1
+
lgpl2
.
0
+
))
#
:select
(
gpl3+
gpl2+
lgpl2
.
1
+
lgpl2
.
0
+
fdl1
.
3
+
))
#
:use-module
(
gnu
packages
)
#
:use-module
(
gnu
packages
)
#
:use-module
(
gnu
packages
bootstrap
)
#
:use-module
(
gnu
packages
bootstrap
)
#
:use-module
(
gnu
packages
compression
)
#
:use-module
(
gnu
packages
compression
)
...
@@ -680,3 +680,53 @@ (define-public cloog
...
@@ -680,3 +680,53 @@ (define-public cloog
effective code."
)
effective code."
)
(
license
gpl2+
)))
(
license
gpl2+
)))
(
define-public
gnu-c-manual
(
package
(
name
"gnu-c-manual"
)
(
version
"0.2.4"
)
(
source
(
origin
(
method
url-fetch
)
(
uri
(
string-append
"mirror://gnu/gnu-c-manual/gnu-c-manual-"
version
".tar.gz"
))
(
sha256
(
base32
"0cf4503shr7hxkbrjfi9dky6q2lqk95bgbgbjmvj2s2x312kakd9"
))))
(
build-system
gnu-build-system
)
(
native-inputs
`
((
"texinfo"
,
texinfo
)))
(
arguments
'
(
#
:phases
(
modify-phases
%standard-phases
(
delete
'configure
)
(
delete
'check
)
(
replace
'build
(
lambda
_
(
zero?
(
system*
"make"
"gnu-c-manual.info"
"gnu-c-manual.html"
))))
(
replace
'install
(
lambda*
(
#
:key
outputs
#
:allow-other-keys
)
(
let*
((
out
(
assoc-ref
outputs
"out"
))
(
info
(
string-append
out
"/share/info"
))
(
html
(
string-append
out
"/share/doc/gnu-c-manual"
)))
(
mkdir-p
info
)
(
mkdir-p
html
)
(
for-each
(
lambda
(
file
)
(
copy-file
file
(
string-append
info
"/"
file
)))
(
find-files
"."
"\\.info(-[0-9])?$"
))
(
for-each
(
lambda
(
file
)
(
copy-file
file
(
string-append
html
"/"
file
)))
(
find-files
"."
"\\.html$"
))
#t
))))))
(
synopsis
"Reference manual for the C programming language"
)
(
description
"This is a reference manual for the C programming language, as
implemented by the GNU C Compiler (gcc). As a reference, it is not intended
to be a tutorial of the language. Rather, it outlines all of the constructs
of the language. Library functions are not included."
)
(
home-page
"http://www.gnu.org/software/gnu-c-manual"
)
(
license
fdl1
.
3
+
)))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment