A FFI binding to libmtp, an implementation of the Media Transfer Protocol.
- Latest release
git clone git://github.com/joachifm/hsmtp.git
The preferred method of building is using cabal-install:
$ cd hsmtp
$ cabal configure
$ cabal build
$ cabal install
> import qualified MTP
> main = do
> MTP.init
> MTP.withFirstDevice MTP.getDeviceVersion
Joachim Fasting <joachim.fasting@gmail.com>
LGPL version 2.1 (see COPYING)