wok-current view radare2/receipt @ rev 24706
updated lcms2, lcms2-apps and lcms2-dev (2.10 -> 2.13.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 15:57:04 2022 +0100 (2022-03-14) |
parents | 6b6d14c9f7e9 |
children | 73f36875e5a7 |
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*} 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 }