summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/mktorrent/.footprint3
-rw-r--r--extra/mktorrent/.md5sum1
-rwxr-xr-xextra/mktorrent/Pkgfile17
3 files changed, 21 insertions, 0 deletions
diff --git a/extra/mktorrent/.footprint b/extra/mktorrent/.footprint
new file mode 100644
index 000000000..99a4fe1ec
--- /dev/null
+++ b/extra/mktorrent/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mktorrent
diff --git a/extra/mktorrent/.md5sum b/extra/mktorrent/.md5sum
new file mode 100644
index 000000000..4f6601c20
--- /dev/null
+++ b/extra/mktorrent/.md5sum
@@ -0,0 +1 @@
+0da00209da96a0dc39efbb6eb5b4d8ff mktorrent-1.0.tar.gz
diff --git a/extra/mktorrent/Pkgfile b/extra/mktorrent/Pkgfile
new file mode 100755
index 000000000..983e34a76
--- /dev/null
+++ b/extra/mktorrent/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Simple command line utility to create BitTorrent metainfo files
+# URL: http://mktorrent.sourceforge.net
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: openssl
+
+name=mktorrent
+version=1.0
+release=1
+source=(http://downloads.sourceforge.net/mktorrent/mktorrent-$version.tar.gz )
+
+build() {
+ cd $name-$version
+ make DESTDIR=$PKG PREFIX=/usr \
+ USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1 USE_LARGE_FILES=1 \
+ install
+}