wok view gdb/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (17 months ago) |
parents | 85ce080d4127 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="11.2"
5 CATEGORY="development"
6 TAGS="debug"
7 SHORT_DESC="The GNU Project Debugger."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/gdb/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="gdb-lang"
16 DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses"
17 BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev"
19 HOST_ARCH="i486 arm"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 CC=gcc-83 \
34 CXX=g++-83 \
35 --with-python=no \
36 --disable-werror \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 }