1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name upslug2 |
---|
7 | version 41 |
---|
8 | categories cross devel |
---|
9 | maintainers gmail.com:ranauei |
---|
10 | description A tool to flash your NSLU2 from a computer on the same network |
---|
11 | long_description UpSlug2 is a completely rewritten version of the UpSlug tool \ |
---|
12 | which is more robust and flexible, though it still requires \ |
---|
13 | an ethernet connection to the NSLU2. |
---|
14 | homepage http://www.nslu2-linux.org/wiki/Main/UpSlug2 |
---|
15 | platforms darwin |
---|
16 | master_sites http://trac.nslu2-linux.org/upslug2/changeset/${version}/trunk?old_path=%2F&format=zip&dummy= |
---|
17 | use_zip yes |
---|
18 | worksrcdir trunk |
---|
19 | checksums md5 0cfd1e6a30f85823708fbffdd7d1ebde \ |
---|
20 | sha1 b39ca97c6d01c4cf1312d2b0d9f6c8a397f6d81b \ |
---|
21 | rmd160 54b7ebad39adff4c07531af2209c5172626a1d50 |
---|
22 | |
---|
23 | depends_lib port:libpcap |
---|
24 | |
---|
25 | use_autoreconf yes |
---|
26 | |
---|
27 | configure.args --with-libpcap |
---|
28 | |
---|
29 | variant FlashMod16 description {Add support for modded NSLU2 with 16MByte of flash memory} { |
---|
30 | patchfiles-append patch-nslu2_protocol.h.diff |
---|
31 | } |
---|
32 | |
---|
33 | destroot { |
---|
34 | xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin |
---|
35 | xinstall -m 644 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8 |
---|
36 | } |
---|