wok annotate 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 (4 months ago)
parents eec3edc6ef52
children
rev   line source
erjo@4817 1 # SliTaz package receipt.
erjo@4817 2
erjo@4817 3 PACKAGE="cgdb"
Hans-G?nter@25128 4 VERSION="0.8.0"
erjo@4817 5 CATEGORY="development"
Hans-G?nter@22589 6 TAGS="debugger"
Hans-G?nter@22589 7 SHORT_DESC="Curses interface for GDB."
erjo@4817 8 MAINTAINER="erjo@slitaz.org"
pascal@15579 9 LICENSE="GPL2"
pascal@24893 10 WEB_SITE="https://cgdb.github.io/"
Hans-G?nter@22589 11
erjo@4817 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22590 13 WGET_URL="https://cgdb.me/files/$TARBALL"
Hans-G?nter@22589 14
Hans-G?nter@22589 15 DEPENDS="gcc83-lib-base gdb ncurses readline"
Hans-G?nter@22589 16 BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"
Hans-G?nter@22589 17
pankso@10393 18 CROSS="error: cannot check for file existence when cross compiling"
erjo@4817 19
pascal@24361 20 # What is the latest version available today?
pascal@24361 21 current_version()
pascal@24361 22 {
pascal@24384 23 wget -O - https://github.com/cgdb/cgdb/tags 2>/dev/null | \
pascal@24384 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24361 25 }
pascal@24361 26
erjo@4817 27 # Rules to configure and make the package.
erjo@4817 28 compile_rules()
erjo@4817 29 {
Hans-G?nter@22589 30 ./configure \
Hans-G?nter@22589 31 CC=gcc-83 \
Hans-G?nter@22589 32 CXX=g++-83 \
Hans-G?nter@22589 33 --build=$HOST_SYSTEM \
Hans-G?nter@22589 34 --host=$HOST_SYSTEM &&
Hans-G?nter@22589 35 make &&
Hans-G?nter@22589 36 make install
erjo@4817 37 }
erjo@4817 38
erjo@4817 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4817 40 genpkg_rules()
erjo@4817 41 {
Hans-G?nter@25128 42 cook_copy_folders bin
erjo@4817 43 }