wok view radare2/receipt @ rev 25760
created recipes for thunar-archive-plugin-lang and thunar-volman-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 01 15:08:01 2024 +0100 (2 months ago) |
parents | bf28cc07ebf1 |
children |
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="https://radare.org/"
11 WGET_URL="https://github.com/radareorg/radare2/archive/$VERSION.tar.gz"
13 current_version()
14 {
15 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
16 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\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 }