Check-in [f744667bec]
Overview
Comment:Updated teapot-client to be installed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f744667bec3fb732e1119219bdc500cb91547b14
User & Date: rkeene on 2009-04-19 09:54:01
Other Links: manifest | tags
Context
2009-04-19
09:56
Updated searchpath to search specified prefix check-in: 6bddce1bb3 user: rkeene tags: trunk
09:54
Updated teapot-client to be installed check-in: f744667bec user: rkeene tags: trunk
09:42
Updated teapotclient to understand "intel" means "x86" check-in: eb06aeb256 user: rkeene tags: trunk
Changes

Modified README.txt from [c78e0fb617] to [39ba51f6e4].

127
128
129
130
131
132
133
134

135
136
137
138
139
140
141
142
143
144
145
127
128
129
130
131
132
133

134
135
136
137
138
139
140
141
142
143
144
145







-
+












		puts "Downloading md5 and sha1 packages for the current system"
		::teapotclient::download_extensions "." \
		  [list teapot.activestate.com] [list md5 sha1] $os \
		  $tcl_platform(machine)

		
b. teapot-client.tcl (not installed):
b. teapot-client / teapot-client.tcl:
	i. teapot-client get <dir> <os> <cpu> <packages...>
		Downloads all the requested extensions/packages for the OS+CPU
		pair into the "lib" directory of the directory specified.

	ii. teapot-client list ?<os>? ?<cpu>?
		Lists all available extensions and their most recent versions,
		optionally restricted to an OS+CPU pair.

II. SERVER
==========
This is not yet implemented.

Modified client/Makefile from [f94f975092] to [5ca9d75cdf].

1
2
3
4


5
6
7
8
9
10
11
1
2
3
4
5
6
7
8
9
10
11
12
13




+
+







TCLKIT = tclkit
TCLCONFIGPATH = $(DESTDIR)/usr/lib $(DESTDIR)/usr/lib64 $(DESTDIR)/usr/local/lib $(DESTDIR)/usr/local/lib64
TEAPOTCLIENTVERS = 0.1
TCLDIR = 
PREFIX = /usr/local
prefix = $(PREFIX)

all:
	@echo 'Nothing to do.'

install:
	@echo TCLDIR="$(TCLDIR)"; \
	TCLDIR="$(TCLDIR)"; \
23
24
25
26
27
28
29


30
31
32
33
34
35
36
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40







+
+







	test -n "$${TCLDIR}" || (echo Unable to locate tclConfig.sh.  Try specifying TCLDIR.; exit 1) || exit 1; \
	if test ! -e "$(DESTDIR)$${TCLDIR}/teapotclient$(TEAPOTCLIENTVERS)"; then \
		echo mkdir -p "$(DESTDIR)$${TCLDIR}/teapotclient$(TEAPOTCLIENTVERS)"; \
		mkdir -p "$(DESTDIR)$${TCLDIR}/teapotclient$(TEAPOTCLIENTVERS)" || exit 1; \
	fi; \
	echo cp "lib/teapotclient$(TEAPOTCLIENTVERS)"/*.tcl "$(DESTDIR)$${TCLDIR}/teapotclient$(TEAPOTCLIENTVERS)/"; \
	cp "lib/teapotclient$(TEAPOTCLIENTVERS)"/*.tcl "$(DESTDIR)$${TCLDIR}/teapotclient$(TEAPOTCLIENTVERS)/" || exit 1
	cp teapot-client.tcl "$(DESTDIR)$(prefix)/bin/teapot-client"
	chmod 755 "$(DESTDIR)$(prefix)/bin/teapot-client"

teapot-client.kit: teapot-client.tcl lib/teapotclient0.1/pkgIndex.tcl lib/teapotclient0.1/teapotclient.tcl
	rm -rf teapot-client-tmp.vfs
	mkdir teapot-client-tmp.vfs
	cp -r lib teapot-client.tcl teapot-client-tmp.vfs/
	echo 'package require starkit' > teapot-client-tmp.vfs/main.tcl
	echo 'starkit::startup' >> teapot-client-tmp.vfs/main.tcl