SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "radare2"

# SliTaz package receipt.

PACKAGE="radare2"
VERSION="4.4.0"
CATEGORY="development"
SHORT_DESC="The reverse engineering framework."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3 LGPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://radare.org/"
WGET_URL="https://github.com/radareorg/radare2/archive/$VERSION.tar.gz"

current_version()
{
    wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
    sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -lrt"
    sed 's|curl -o|wget --no-check-certificate -O|' -i shlr/Makefile
    ./configure --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)