diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/radare2/APKBUILD | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/testing/radare2/APKBUILD b/testing/radare2/APKBUILD index a66e074d5f..adad5be7ce 100644 --- a/testing/radare2/APKBUILD +++ b/testing/radare2/APKBUILD @@ -1,10 +1,11 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Valery Kartel <valery.kartel@gmail.com> # Contributor: stef <l0ls0fo2i@ctrlc.hu> # Contributor: Jose-Luis Rivas <ghostbar@riseup.net> # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=radare2 -pkgver=1.0.2 -pkgrel=1 +pkgver=1.6.0 +pkgrel=0 pkgdesc="An opensource, crossplatform reverse engineering framework" url="http://www.radare.org" arch="all !aarch64" @@ -14,35 +15,29 @@ depends_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 - " - +source="$pkgname-$pkgver.tar.gz::https://github.com/radare/$pkgname/archive/${pkgver}.tar.gz + anal_arm_cs_shift.patch" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ --with-syscapstone \ --with-openssl \ - --with-syszip \ - || return 1 - make || return 1 + --with-syszip + make HAVE_LIBVERSION=1 } package() { 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 + make DESTDIR="$pkgdir" install } -#TODO: build packages from R2PM package manager (src/radare2-*/binr/r2pm/d/*) - -md5sums="d7ac1b28012ecc5076e793599313be92 radare2-1.0.2.tar.gz -664640d326fe15894891b98b629e0513 anal_arm_cs_shift.patch" -sha256sums="58693bc93d07f8e4678bf96e149f736a29194869c6d08e8ed2696e953ecf1098 radare2-1.0.2.tar.gz -e45f8104bb4b3be17a2eda3028cf51fcfd99f346261ba6eddf6d90d160224a09 anal_arm_cs_shift.patch" -sha512sums="3151926385a046a6be53ecb2ab14b34b516e8c61a77ca72f169e6ad9c1ea7ee8dd90ec13dcc2f08764e95d1dce1f9b50df0ce9b2a69bfabf956dba6efdce312e radare2-1.0.2.tar.gz +sha512sums="6e1485c4edaa007790c07a8cfe190c4ea3e4df843620e2575587478e60f1be3dacaa0c545c84e135a51d9f7aff61c27f712c0ffa6038b556d347151f2a3cd2bb radare2-1.6.0.tar.gz ab016177a1173ad647a0028f398c9daa8ef3f71fcc4c6c2cedd8ee9a60873dd68a5c825722b2d5916408c965a89a5a3099f5582a09457c9183c9dd14b20ee880 anal_arm_cs_shift.patch" |