From 3074d86edb44303b35cdafe0fac7634cb492f2c3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 7 Jan 2010 21:59:49 +0100 Subject: [PATCH] new package: (thanks to Andras) - add package unrar needed by upcoming SABnzbd plugin --- packages/compress/unrar/build | 15 +++++++++++++++ packages/compress/unrar/install | 7 +++++++ packages/compress/unrar/url | 1 + 3 files changed, 23 insertions(+) create mode 100755 packages/compress/unrar/build create mode 100755 packages/compress/unrar/install create mode 100644 packages/compress/unrar/url diff --git a/packages/compress/unrar/build b/packages/compress/unrar/build new file mode 100755 index 0000000000..191fba2f6e --- /dev/null +++ b/packages/compress/unrar/build @@ -0,0 +1,15 @@ +#!/bin/sh + +. config/options + +$SCRIPTS/build toolchain + +cd $BUILD/$1 + +make CC=$TARGET_CC \ + RANLIB=$TARGET_RANLIB \ + AR=$TARGET_AR \ + STRIP=$TARGET_STRIP \ + -f makefile.unix + + diff --git a/packages/compress/unrar/install b/packages/compress/unrar/install new file mode 100755 index 0000000000..17a106610b --- /dev/null +++ b/packages/compress/unrar/install @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options + +mkdir -p $INSTALL/usr/bin + cp $BUILD/$1/unrar $INSTALL/usr/bin + diff --git a/packages/compress/unrar/url b/packages/compress/unrar/url new file mode 100644 index 0000000000..31e3c1426a --- /dev/null +++ b/packages/compress/unrar/url @@ -0,0 +1 @@ +http://www.rarlab.com/rar/unrarsrc-3.9.7.tar.gz