wok view cgdb/receipt @ rev 24592
.bin files don't have .note.gnu.property section
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 10:06:20 2022 +0000 (2022-03-01) |
parents | 370da83187ab |
children | eec3edc6ef52 |
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://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 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }