wok view gdb/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | 71360a13cd94 |
children | d79ed38ace18 |
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 - ${WGET_URL%/*} 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 }