wok-current view gdb-python/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 71360a13cd94 |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb-python"
4 VERSION="11.2"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger with Python support."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gdb/"
11 SOURCE="gdb"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
14 PROVIDE="gdb"
15 SUGGESTED="gdb-lang"
16 DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses python"
17 BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev python-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --disable-werror \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cook_copy_folders bin
44 cook_copy_folders lib
45 cp -a $install/usr/share/gdb $fs/usr/share
46 }