wok view cgdb/receipt @ rev 24371

updated bird (2.0.7 -> 2.0.8)
author Hans-G?nter Theisgen
date Sat Feb 05 15:01:57 2022 +0100 (2022-02-05)
parents f3bcc468a2c4
children fb22330086d8
line source
1 # SliTaz package receipt.
3 PACKAGE="cgdb"
4 VERSION="0.7.1"
5 CATEGORY="development"
6 TAGS="debugger"
7 SHORT_DESC="Curses interface for GDB."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://cgdb.sourceforge.net/"
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://sourceforge.net/projects/cgdb/files/cgdb/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/cgdb/cgdb-||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 --build=$HOST_SYSTEM \
35 --host=$HOST_SYSTEM &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }