wok view radare2/receipt @ rev 24034

Openssh (8.5p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 08 09:21:26 2021 +0000 (2021-04-08)
parents b57d2cbc7c42
children bf28cc07ebf1
line source
1 # SliTaz package receipt.
3 PACKAGE="radare2"
4 VERSION="4.4.0"
5 CATEGORY="development"
6 SHORT_DESC="The reverse engineering framework."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://radare.org/"
11 WGET_URL="https://github.com/radareorg/radare2/archive/$VERSION.tar.gz"
13 current_version()
14 {
15 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
16 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -lrt"
23 sed 's|curl -o|wget --no-check-certificate -O|' -i shlr/Makefile
24 ./configure --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs/
34 }