Check-in [05c54dd18f]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | - Add jruby build example |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
05c54dd18f9a47d6ca4e7741d815e5b0 |
User & Date: | jls@semicomplete.com 2011-02-16 20:26:41 |
Context
2011-02-16
| ||
20:32 | Fix dependency spec check-in: 57734e0c73 user: jls@semicomplete.com tags: trunk | |
20:26 | - Add jruby build example check-in: 05c54dd18f user: jls@semicomplete.com tags: trunk | |
2011-02-15
| ||
01:06 | - Properly prefix file paths if --prefix is given. check-in: 0cd45e7f34 user: jls@semicomplete.com tags: trunk | |
Changes
Added examples/jruby/Makefile.
> > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | NAME=jruby VERSION=1.6.0.RC2 DOWNLOAD=http://jruby.org.s3.amazonaws.com/downloads/$(VERSION)/$(TARBALL) TARBALL=$(NAME)-bin-$(VERSION).tar.gz TARDIR=$(NAME)-$(VERSION) PREFIX=/opt/jruby .PHONY: default default: package .PHONY: clean clean: rm $(NAME)-* $(NAME)_* || true rm -r $(TARDIR) || true rm *.deb $(TARBALL): wget "$(DOWNLOAD)" $(TARDIR): $(TARBALL) tar -zxf $(TARBALL) .PHONY: package package: $(TARDIR) fpm -s dir -t deb -v $(VERSION) -n $(NAME) -d "sun-java6-bin" \ -a all -d "sun-java6-jre" --prefix $(PREFIX) -C $(TARDIR) . |
Added examples/jruby/README.md.
> > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Usage: make package Should make the package. Try installing: sudo dpkg -i jruby-1.6.0.RC2-1.amd64.deb Now try it: % /opt/jruby/bin/jirb >> require "java" => true >> java.lang.System.out.println("Hello") Hello => nil |