wok annotate gdb/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | 71360a13cd94 |
children | d79ed38ace18 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
Hans-G?nter@24587 | 4 VERSION="11.2" |
erjo@1727 | 5 CATEGORY="development" |
Hans-G?nter@24587 | 6 TAGS="debug" |
erjo@1727 | 7 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 8 MAINTAINER="erjo@slitaz.org" |
Hans-G?nter@24587 | 9 LICENSE="GPL3" |
Hans-G?nter@24587 | 10 WEB_SITE="https://www.gnu.org/software/gdb/" |
Hans-G?nter@24587 | 11 |
Hans-G?nter@24587 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
rcx@5984 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@24587 | 14 |
Hans-G?nter@24587 | 15 SUGGESTED="gdb-lang" |
Hans-G?nter@24587 | 16 DEPENDS="expat gcc83-lib-base glibc-dev gmp ncurses" |
Hans-G?nter@24587 | 17 BUILD_DEPENDS="gcc83 gmp-dev ncurses-dev readline-dev" |
Hans-G?nter@24587 | 18 |
pankso@16316 | 19 HOST_ARCH="i486 arm" |
erjo@1727 | 20 |
pascal@15000 | 21 |
pascal@24336 | 22 # What is the latest version available today? |
pascal@24336 | 23 current_version() |
pascal@24336 | 24 { |
pascal@24336 | 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 27 } |
pascal@24336 | 28 |
erjo@1727 | 29 # Rules to configure and make the package. |
erjo@1727 | 30 compile_rules() |
erjo@1727 | 31 { |
Hans-G?nter@24587 | 32 ./configure \ |
Hans-G?nter@24587 | 33 CC=gcc-83 \ |
Hans-G?nter@24587 | 34 CXX=g++-83 \ |
Hans-G?nter@24587 | 35 --with-python=no \ |
Hans-G?nter@24587 | 36 --disable-werror \ |
Hans-G?nter@24587 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@24587 | 38 make && |
Hans-G?nter@24587 | 39 make install |
erjo@1727 | 40 } |
erjo@1727 | 41 |
erjo@1727 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 43 genpkg_rules() |
erjo@1727 | 44 { |
Hans-G?nter@24587 | 45 cook_copy_folders bin |
erjo@1727 | 46 } |
erjo@1727 | 47 |