wok-current view gdb-python/receipt @ rev 24830

busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author Hans-G?nter Theisgen
date Thu Mar 24 06:49:50 2022 +0100 (2022-03-24)
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 }