summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-12-19 14:04:19 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-12-19 14:04:19 +0000
commitc25d6490af5142547b46a669482f19e821453fb7 (patch)
tree9e11d262e8b94e4e8b27cc26c016dde0ee37b2c7
parent8997c7132b2f2c681a25869862787bbfcb2a1baf (diff)
add unrar, a decompression utility for the RAR archive format
-rw-r--r--packages/unrar/.mtn2git_empty0
-rw-r--r--packages/unrar/unrar-native_3.4.3.bb14
-rw-r--r--packages/unrar/unrar.inc7
-rw-r--r--packages/unrar/unrar_3.4.3.bb6
4 files changed, 27 insertions, 0 deletions
diff --git a/packages/unrar/.mtn2git_empty b/packages/unrar/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/unrar/.mtn2git_empty
diff --git a/packages/unrar/unrar-native_3.4.3.bb b/packages/unrar/unrar-native_3.4.3.bb
new file mode 100644
index 0000000000..4b87691e89
--- /dev/null
+++ b/packages/unrar/unrar-native_3.4.3.bb
@@ -0,0 +1,14 @@
+require unrar.inc
+inherit native
+
+do_stage() {
+ install unrar ${STAGING_BINDIR}
+}
+
+do_package() {
+ :
+}
+
+do_install() {
+ :
+}
diff --git a/packages/unrar/unrar.inc b/packages/unrar/unrar.inc
new file mode 100644
index 0000000000..4887ac9fb2
--- /dev/null
+++ b/packages/unrar/unrar.inc
@@ -0,0 +1,7 @@
+SRC_URI = "http://www.rarlab.com/rar/unrarsrc-${PV}.tar.gz"
+S = "${WORKDIR}/unrar"
+
+do_compile() {
+ oe_runmake -f makefile.unix
+}
+
diff --git a/packages/unrar/unrar_3.4.3.bb b/packages/unrar/unrar_3.4.3.bb
new file mode 100644
index 0000000000..39d81990e2
--- /dev/null
+++ b/packages/unrar/unrar_3.4.3.bb
@@ -0,0 +1,6 @@
+require unrar.inc
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 unrar ${D}${bindir}
+}