Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
eic_tools
Spack
Commits
36579844
Commit
36579844
authored
10 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Patches
Plain Diff
Add Tcl/Tk packages.
parent
ce011501
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/packages/tcl/package.py
+22
-0
22 additions, 0 deletions
var/spack/packages/tcl/package.py
var/spack/packages/tk/package.py
+22
-0
22 additions, 0 deletions
var/spack/packages/tk/package.py
with
44 additions
and
0 deletions
var/spack/packages/tcl/package.py
0 → 100644
+
22
−
0
View file @
36579844
from
spack
import
*
class
Tcl
(
Package
):
"""
Tcl (Tool Command Language) is a very powerful but easy to
learn dynamic programming language, suitable for a very wide
range of uses, including web and desktop applications,
networking, administration, testing and many more. Open source
and business-friendly, Tcl is a mature yet evolving language
that is truly cross platform, easily deployed and highly
extensible.
"""
homepage
=
"
http://www.tcl.tk
"
version
(
'
8.6.3
'
,
'
db382feca91754b7f93da16dc4cdad1f
'
,
url
=
"
http://prdownloads.sourceforge.net/tcl/tcl8.6.3-src.tar.gz
"
)
depends_on
(
'
zlib
'
)
def
install
(
self
,
spec
,
prefix
):
with
working_dir
(
'
unix
'
):
configure
(
"
--prefix=%s
"
%
prefix
)
make
()
make
(
"
install
"
)
This diff is collapsed.
Click to expand it.
var/spack/packages/tk/package.py
0 → 100644
+
22
−
0
View file @
36579844
from
spack
import
*
class
Tk
(
Package
):
"""
Tk is a graphical user interface toolkit that takes developing
desktop applications to a higher level than conventional
approaches. Tk is the standard GUI not only for Tcl, but for
many other dynamic languages, and can produce rich, native
applications that run unchanged across Windows, Mac OS X, Linux
and more.
"""
homepage
=
"
http://www.tcl.tk
"
url
=
"
http://prdownloads.sourceforge.net/tcl/tk8.6.3-src.tar.gz
"
version
(
'
src
'
,
'
85ca4dbf4dcc19777fd456f6ee5d0221
'
)
depends_on
(
"
tcl
"
)
def
install
(
self
,
spec
,
prefix
):
with
working_dir
(
'
unix
'
):
configure
(
"
--prefix=%s
"
%
prefix
,
"
--with-tcl=%s
"
%
spec
[
'
tcl
'
].
prefix
.
lib
)
make
()
make
(
"
install
"
)
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