PortSystem 1.0
PortGroup       github 1.0
PortGroup       makefile 1.0

github.setup    Chronic-Dev libirecovery 0.1
revision        0
checksums       rmd160  beb1fb5fc837e00dc85707456f634fd75b5f84e4 \
                sha256  3ef52a24cf6ee4094400cdcc90a33ccfd53fd898c2d71599361b4bfa8a99bca9 \
                size    137635

name            iRecovery
categories      sysutils
maintainers     nomaintainer
license         LGPL-2.1

description     Console client for iBoot/iBSS iPhone, iPod touch and iPad

long_description \
                iRecovery is a libusb-based command line utility for Mac OS X \
                and Linux.  It is able to talk to the iBoot/iBSS in Apple's \
                iPhone/iPod touch via USB.  It supports iBoot/iBSS 2.x, 3.x \
                and 4.x.

conflicts       libirecovery

github.tarball_from \
                archive

depends_lib     port:libusb \
                port:readline

patchfiles      Makefile.patch

destroot {
        xinstall ${worksrcpath}/irecovery ${destroot}${prefix}/bin
       
        set sharedir ${destroot}${prefix}/share/doc/${name}
        xinstall -d ${sharedir} 
        xinstall -m 0644 -W ${worksrcpath} LICENCE README ${sharedir}
}
