Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README → README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
This is upslug2.
# Upslug2

**Note:** this repository is a fork from [wspringer](https://github.com/wspringer/upslug2)

I made only a _very_ [little fix](https://github.com/carlesso/upslug2/commit/e3d1163d130e588f91c863b2719018cab7470e38)
to be able to compile nowdays.

**ALL** credit goes to
* John Bowler <jbowler at users.sourceforge.net>
* Roger Nilsson [macosx support]

Thanks for your work. This Repository is also used as source for the [HomeBrew](http://mxcl.github.com/homebrew/) Formula to build it.

To install upslug2 with homebrew simply write:

```
$ brew install https://raw.github.com/carlesso/upslug2/master/brew_formula/upslug2.rb
```


-----------------------------------

##This is upslug2.

upslug2 is a command line program intended to allow the upgrade of a LinkSys
NSLU2 firmware to new or different versions. Unlike upslug and the LinkSys
Expand Down
28 changes: 28 additions & 0 deletions brew_formula/upslug2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
require 'formula'

class Upslug2 < Formula
homepage 'https://github.com/carlesso/upslug2'

url 'https://github.com/carlesso/upslug2.git', :revision => 'e3d1163d130e588f91c863b2719018cab7470e38'

head 'https://github.com/wspringer/upslug2.git'
version '2.11'

depends_on :autoconf
depends_on :automake
depends_on :libtool

def install
system "autoreconf", "-iv"
ENV['CPPFLAGS'] = "-I/opt/local/include"
ENV['LDFLAGS'] = "-L/opt/local/lib"
system "./configure", "--with-libpcap", "--prefix=#{prefix}"

system "make"
system "make install"
end

def test
system "#{sbin}/upslug2"
end
end
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AC_PREREQ(2.59)
AC_INIT(upslug2, 12, http://sourceforge.net/projects/nslu/)
AM_INIT_AUTOMAKE(1.9)
AC_CONFIG_SRCDIR([config.h.in])
AM_CONFIG_HEADER([config.h])
AC_CONFIG_HEADERS([config.h])

# Checks system specific stuff
AC_CANONICAL_HOST
Expand Down