wok view cgdb/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (3 months ago)
parents eec3edc6ef52
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cgdb"
4 VERSION="0.8.0"
5 CATEGORY="development"
6 TAGS="debugger"
7 SHORT_DESC="Curses interface for GDB."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://cgdb.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://cgdb.me/files/$TARBALL"
15 DEPENDS="gcc83-lib-base gdb ncurses readline"
16 BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"
18 CROSS="error: cannot check for file existence when cross compiling"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://github.com/cgdb/cgdb/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --build=$HOST_SYSTEM \
34 --host=$HOST_SYSTEM &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 }