aboutsummaryrefslogtreecommitdiffstats
path: root/testing/radare2
diff options
context:
space:
mode:
authorstf <7o5rfu92t@ctrlc.hu>2016-11-09 14:08:24 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-07 10:55:33 +0200
commitdff630b41efc66782675bb0b15366bbbc31bf886 (patch)
treef3fbc64e9ccecac4cc2d3114831b2b1d18cd00ea /testing/radare2
parent1c51bcabcb53e8b7e47fbd8c5ce63b5cdc42006f (diff)
downloadaports-dff630b41efc66782675bb0b15366bbbc31bf886.tar.bz2
aports-dff630b41efc66782675bb0b15366bbbc31bf886.tar.xz
testing/radare2: bumped rel to 1.0.2
[tt: squashed commits, minor updates]
Diffstat (limited to 'testing/radare2')
-rw-r--r--testing/radare2/APKBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/testing/radare2/APKBUILD b/testing/radare2/APKBUILD
index 44a30a144c..3c4eaa504e 100644
--- a/testing/radare2/APKBUILD
+++ b/testing/radare2/APKBUILD
@@ -3,34 +3,25 @@
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=radare2
-pkgver=0.10.4
-pkgrel=2
+pkgver=1.0.2
+pkgrel=0
pkgdesc="An opensource, crossplatform reverse engineering framework"
url="http://www.radare.org"
arch="all !aarch64"
license="GPLv3"
depends=""
depends_dev=""
-makedepends="$depends_dev libzip-dev libressl-dev capstone-dev"
+makedepends="$depends_dev libzip-dev libressl-dev capstone-dev linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/radare/radare2/archive/${pkgver}.tar.gz
anal_arm_cs_shift.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--with-syscapstone \
@@ -41,16 +32,17 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name Makefile -delete
+ #for a in "$pkgdir"/usr/lib/libr_*.$pkgver; do printf "xxxxx ln -s $a ${a%%.$pkgver}\n"; done
}
#TODO: build packages from R2PM package manager (src/radare2-*/binr/r2pm/d/*)
-md5sums="f78f9472cc8bab2d320f962627b9b3e5 radare2-0.10.4.tar.gz
+md5sums="d7ac1b28012ecc5076e793599313be92 radare2-1.0.2.tar.gz
664640d326fe15894891b98b629e0513 anal_arm_cs_shift.patch"
-sha256sums="5bccc7845a3f8cde09df1d76b836a357a85fe3192c0caf28e764f20e421e77a1 radare2-0.10.4.tar.gz
+sha256sums="58693bc93d07f8e4678bf96e149f736a29194869c6d08e8ed2696e953ecf1098 radare2-1.0.2.tar.gz
e45f8104bb4b3be17a2eda3028cf51fcfd99f346261ba6eddf6d90d160224a09 anal_arm_cs_shift.patch"
-sha512sums="8bec8eaeaeb28059023571a5747d199d2b5ab38a4156b2eb7d375c48426b5410ade2749c0b64531a231d6b8d36c6f1d3a88aa42eeffa269eb73c4acc91482de5 radare2-0.10.4.tar.gz
+sha512sums="3151926385a046a6be53ecb2ab14b34b516e8c61a77ca72f169e6ad9c1ea7ee8dd90ec13dcc2f08764e95d1dce1f9b50df0ce9b2a69bfabf956dba6efdce312e radare2-1.0.2.tar.gz
ab016177a1173ad647a0028f398c9daa8ef3f71fcc4c6c2cedd8ee9a60873dd68a5c825722b2d5916408c965a89a5a3099f5582a09457c9183c9dd14b20ee880 anal_arm_cs_shift.patch"