summaryrefslogtreecommitdiff
path: root/net/megatools
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2015-11-27 10:28:02 +0000
committerleot <leot@pkgsrc.org>2015-11-27 10:28:02 +0000
commit4b3d6cdb8ee9d04ec798721ee8bf2db03ab428e1 (patch)
tree1e9cf3ba425b57597659c0efbb77311d10034b05 /net/megatools
parent455e932b6f341e2376435f19aa9ef3d54e7363c9 (diff)
downloadpkgsrc-4b3d6cdb8ee9d04ec798721ee8bf2db03ab428e1.tar.gz
Import megatools-1.9.95 as net/megatools.
Packaged in pkgsrc-wip by Aleksej Lebedev. Fixes PR pkg/50471. Megatools is a collection of programs for accessing Mega service from a command line of your desktop or server. Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file. Mega website can be found at mega.co.nz.
Diffstat (limited to 'net/megatools')
-rw-r--r--net/megatools/DESCR8
-rw-r--r--net/megatools/Makefile22
-rw-r--r--net/megatools/PLIST42
-rw-r--r--net/megatools/distinfo5
4 files changed, 77 insertions, 0 deletions
diff --git a/net/megatools/DESCR b/net/megatools/DESCR
new file mode 100644
index 00000000000..18f3402024f
--- /dev/null
+++ b/net/megatools/DESCR
@@ -0,0 +1,8 @@
+Megatools is a collection of programs for accessing Mega service from a command
+line of your desktop or server.
+
+Megatools allow you to copy individual files as well as entire directory trees
+to and from the cloud. You can also perform streaming downloads for example to
+preview videos and audio files, without needing to download the entire file.
+
+Mega website can be found at mega.co.nz.
diff --git a/net/megatools/Makefile b/net/megatools/Makefile
new file mode 100644
index 00000000000..546fb3176c0
--- /dev/null
+++ b/net/megatools/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/11/27 10:28:02 leot Exp $
+
+DISTNAME= megatools-1.9.95
+CATEGORIES= filesystems security
+MASTER_SITES= http://megatools.megous.com/builds/
+
+MAINTAINER= root@zta.lk
+HOMEPAGE= http://megatools.megous.com/
+COMMENT= Command line client for Mega.co.nz
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= glib-networking>=2.36.2:../../net/glib-networking
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+
+PKGCONFIG_OVERRIDE+= libmega.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/megatools/PLIST b/net/megatools/PLIST
new file mode 100644
index 00000000000..62f43785eaf
--- /dev/null
+++ b/net/megatools/PLIST
@@ -0,0 +1,42 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/27 10:28:02 leot Exp $
+bin/megacopy
+bin/megadf
+bin/megadl
+bin/megaget
+bin/megals
+bin/megamkdir
+bin/megaput
+bin/megareg
+bin/megarm
+include/mega/mega-aes-ctr-encryptor.h
+include/mega/mega-aes-key.h
+include/mega/mega-chunked-cbc-mac.h
+include/mega/mega-enum-types.h
+include/mega/mega-http-client.h
+include/mega/mega-http-input-stream.h
+include/mega/mega-http-io-stream.h
+include/mega/mega-http-output-stream.h
+include/mega/mega-rsa-key.h
+include/mega/mega.h
+include/mega/megatypes.h
+include/mega/utils.h
+lib/libmega.la
+lib/pkgconfig/libmega.pc
+man/man1/megacopy.1
+man/man1/megadf.1
+man/man1/megadl.1
+man/man1/megafs.1
+man/man1/megaget.1
+man/man1/megals.1
+man/man1/megamkdir.1
+man/man1/megaput.1
+man/man1/megareg.1
+man/man1/megarm.1
+man/man5/megarc.5
+man/man7/megatools.7
+share/doc/megatools/HACKING
+share/doc/megatools/INSTALL
+share/doc/megatools/LICENSE
+share/doc/megatools/NEWS
+share/doc/megatools/README
+share/doc/megatools/TODO
diff --git a/net/megatools/distinfo b/net/megatools/distinfo
new file mode 100644
index 00000000000..06990ea3b3f
--- /dev/null
+++ b/net/megatools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/11/27 10:28:02 leot Exp $
+
+SHA1 (megatools-1.9.95.tar.gz) = 967d89de26dacf8077db7f03c78e0c240c10d48f
+RMD160 (megatools-1.9.95.tar.gz) = 5f856c120113658eeefcaf8914d7345ac55ee1da
+Size (megatools-1.9.95.tar.gz) = 450706 bytes