wok view gdb-python/receipt @ rev 25134

updated phpeasyvcs (1.0 -> 2.0)
author Hans-G?nter Theisgen
date Wed Jun 29 10:51:43 2022 +0100 (2022-06-29)
parents 71360a13cd94
children d79ed38ace18
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 }