From 59a87f34dc0d0b22c1514a2fdf2cb75ff10598e1 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:54:30 +0200 Subject: misc/torrentinfo: Added to 12.1 repository --- misc/torrentinfo/README | 4 ++++ misc/torrentinfo/slack-desc | 19 +++++++++++++++++ misc/torrentinfo/torrentinfo.SlackBuild | 38 +++++++++++++++++++++++++++++++++ misc/torrentinfo/torrentinfo.info | 8 +++++++ 4 files changed, 69 insertions(+) create mode 100644 misc/torrentinfo/README create mode 100644 misc/torrentinfo/slack-desc create mode 100644 misc/torrentinfo/torrentinfo.SlackBuild create mode 100644 misc/torrentinfo/torrentinfo.info (limited to 'misc') diff --git a/misc/torrentinfo/README b/misc/torrentinfo/README new file mode 100644 index 000000000000..b7fc920a00c4 --- /dev/null +++ b/misc/torrentinfo/README @@ -0,0 +1,4 @@ +TorrentInfo is a command line script that parses .torrent files and displays +the information contained within them. Currently, it can display a summary of +the whole torrent, information on each file within the torrent, and a full +hierarchical dump of the torrent file's contents. diff --git a/misc/torrentinfo/slack-desc b/misc/torrentinfo/slack-desc new file mode 100644 index 000000000000..ef5caf270081 --- /dev/null +++ b/misc/torrentinfo/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler-------------------------------------------------| +torrentinfo: TorrentInfo (command-line tool that parses .torrent files) +torrentinfo: +torrentinfo: TorrentInfo is a command line script that parses .torrent files +torrentinfo: and displays the information contained within them. Currently, +torrentinfo: it can display a summary of the whole torrent, information on +torrentinfo: each file within the torrent, and a full hierarchical dump of +torrentinfo: the torrent file's contents. +torrentinfo: +torrentinfo: http://vrai.net/project.php?project=torrentinfo +torrentinfo: +torrentinfo: diff --git a/misc/torrentinfo/torrentinfo.SlackBuild b/misc/torrentinfo/torrentinfo.SlackBuild new file mode 100644 index 000000000000..dbe73d7a2719 --- /dev/null +++ b/misc/torrentinfo/torrentinfo.SlackBuild @@ -0,0 +1,38 @@ +#!/bin/sh + +# Slackware build script for TorrentInfo +# Written by Erik Hanson erik@slackbuilds.org + +PRGNAM=torrentinfo +VERSION=1.0.1 +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +python setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/misc/torrentinfo/torrentinfo.info b/misc/torrentinfo/torrentinfo.info new file mode 100644 index 000000000000..90e6112254d8 --- /dev/null +++ b/misc/torrentinfo/torrentinfo.info @@ -0,0 +1,8 @@ +PRGNAM="torrentinfo" +VERSION="1.0.1" +HOMEPAGE="http://vrai.net/project.php?project=torrentinfo" +DOWNLOAD="http://vrai.net/files/software_projects/torrentinfo/torrentinfo-1.0.1.tar.bz2" +MD5SUM="89c49aef71e312491646209e38ee4001" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="rworkman" -- cgit v1.2.3