wok annotate cgdb/receipt @ rev 25128

updated cgdb (0.7.1 -> 0.8.0)
author Hans-G?nter Theisgen
date Tue Jun 28 17:15:25 2022 +0100 (23 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 }