Index: README.txt ================================================================== --- README.txt +++ README.txt @@ -129,11 +129,11 @@ ::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 Downloads all the requested extensions/packages for the OS+CPU pair into the "lib" directory of the directory specified. ii. teapot-client list ?? ?? Index: client/Makefile ================================================================== --- client/Makefile +++ client/Makefile @@ -1,9 +1,11 @@ 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: @@ -25,10 +27,12 @@ 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/