aboutsummaryrefslogtreecommitdiffstats
path: root/main/unrar/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
commitb70981b68efcce5256eb11c6cd26ae123b10b6ea (patch)
treea38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/unrar/APKBUILD
parent2b4df81538b8398442d5296650905c70341dd8d3 (diff)
downloadaports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2
aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/unrar/APKBUILD')
-rw-r--r--main/unrar/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/unrar/APKBUILD b/main/unrar/APKBUILD
new file mode 100644
index 0000000000..67f33fac05
--- /dev/null
+++ b/main/unrar/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=unrar
+pkgver=3.9.4
+pkgrel=0
+pkgdesc="The RAR uncompression program"
+url="http://www.rarlab.com"
+license="GPL"
+depends=
+makedepends="uclibc++-dev"
+subpackages="$pkgname-doc"
+source="http://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ export CXX=g++-uc
+
+ make -f makefile.unix || return 1
+ install -Dm755 unrar "$pkgdir"/usr/bin/unrar
+
+ install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+
+}
+
+md5sums="1800a2242911fc118f6a2b084d0c22c1 unrarsrc-3.9.4.tar.gz"