wok-next rev 21672
updated gdb (8.0.1 -> 9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 09:47:46 2020 +0100 (2020-06-29) |
parents | 88eba62e159b |
children | 491cf445e961 |
files | gdb/receipt |
line diff
1.1 --- a/gdb/receipt Sat Jun 27 21:38:06 2020 +0100 1.2 +++ b/gdb/receipt Mon Jun 29 09:47:46 2020 +0100 1.3 @@ -1,30 +1,33 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="gdb" 1.7 -VERSION="8.0.1" 1.8 +VERSION="9.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="The GNU Project Debugger" 1.11 -MAINTAINER="devel@slitaz.org" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://www.gnu.org/software/gdb/" 1.15 +WEB_SITE="https://www.gnu.org/software/gdb/" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 COOKOPTS="force-arch" # different .h 1.21 1.22 -BUILD_DEPENDS="ncurses-dev python-dev readline-dev perl-dev texinfo" 1.23 -SPLIT="$PACKAGE-python:py $PACKAGE-dev" 1.24 +BUILD_DEPENDS="ncurses-dev perl-dev python-dev readline-dev texinfo" 1.25 +SPLIT="$PACKAGE-python:py $PACKAGE-dev $PACKAGE-lang" 1.26 1.27 -compile_rules() { 1.28 +compile_rules() 1.29 +{ 1.30 case $SET in 1.31 '') SET_ARGS='--with-python=no';; 1.32 py) SET_ARGS='';; 1.33 esac 1.34 1.35 - ./configure \ 1.36 - --disable-werror \ 1.37 - $SET_ARGS \ 1.38 + mkdir _build 1.39 + cd _build 1.40 + ../configure \ 1.41 + --disable-werror \ 1.42 + $SET_ARGS \ 1.43 $CONFIGURE_ARGS && 1.44 make && 1.45 make install || return 1 1.46 @@ -34,7 +37,8 @@ 1.47 find $install -name '*.a' -delete 1.48 } 1.49 1.50 -genpkg_rules() { 1.51 +genpkg_rules() 1.52 +{ 1.53 case $PACKAGE in 1.54 gdb) 1.55 copy @std 1.56 @@ -50,5 +54,9 @@ 1.57 copy @dev 1.58 DEPENDS="gdb" 1.59 ;; 1.60 + gdb-lang) 1.61 + mkdir $fs/usr/share 1.62 + cp -a $install/usr/share/locale $fs/usr/share 1.63 + ;; 1.64 esac 1.65 }