wok annotate radare2/receipt @ rev 25543
linux-cloop: update cloop.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 11 12:33:53 2023 +0000 (20 months ago) |
parents | bf28cc07ebf1 |
children |
rev | line source |
---|---|
pascal@17363 | 1 # SliTaz package receipt. |
pascal@17363 | 2 |
pascal@17363 | 3 PACKAGE="radare2" |
pascal@23840 | 4 VERSION="4.4.0" |
pascal@17363 | 5 CATEGORY="development" |
pascal@17363 | 6 SHORT_DESC="The reverse engineering framework." |
pascal@17363 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17363 | 8 LICENSE="GPL3 LGPL3" |
pascal@20435 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25540 | 10 WEB_SITE="https://radare.org/" |
pascal@23840 | 11 WGET_URL="https://github.com/radareorg/radare2/archive/$VERSION.tar.gz" |
pascal@17363 | 12 |
pascal@23944 | 13 current_version() |
pascal@23944 | 14 { |
pascal@24079 | 15 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ |
pascal@24079 | 16 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q' |
pascal@23944 | 17 } |
pascal@23944 | 18 |
pascal@17363 | 19 # Rules to configure and make the package. |
pascal@17363 | 20 compile_rules() |
pascal@17363 | 21 { |
pascal@23841 | 22 export LDFLAGS="$LDFLAGS -lrt" |
pascal@23841 | 23 sed 's|curl -o|wget --no-check-certificate -O|' -i shlr/Makefile |
pascal@17363 | 24 ./configure --prefix=/usr \ |
pascal@17363 | 25 $CONFIGURE_ARGS && |
pascal@17363 | 26 make && |
pascal@17363 | 27 make DESTDIR=$DESTDIR install |
pascal@17363 | 28 } |
pascal@17363 | 29 |
pascal@17363 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17363 | 31 genpkg_rules() |
pascal@17363 | 32 { |
pascal@17363 | 33 cp -a $install/* $fs/ |
pascal@17363 | 34 } |