wok diff gdb-dev/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (18 months ago)
parents fc9203de5ff2
children
line diff
     1.1 --- a/gdb-dev/receipt	Tue Feb 21 15:50:51 2017 +0100
     1.2 +++ b/gdb-dev/receipt	Sat Nov 19 17:37:48 2022 +0000
     1.3 @@ -1,32 +1,20 @@
     1.4  # SliTaz package receipt."
     1.5  
     1.6  PACKAGE="gdb-dev"
     1.7 -VERSION="7.7"
     1.8 +VERSION="11.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="The GNU Project Debugger dev files."
    1.11 +SHORT_DESC="The GNU Project Debugger - development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13 -LICENSE="GPL2"
    1.14 +LICENSE="GPL3"
    1.15 +WEB_SITE="https://www.gnu.org/software/gdb/"
    1.16 +DEPENDS="gdb pkg-config"
    1.17  WANTED="gdb"
    1.18 -WEB_SITE="http://www.gnu.org/software/gdb/"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 -DEPENDS="gdb pkg-config"
    1.23  
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/usr
    1.27 -	
    1.28 -	# Copying include dir if exists
    1.29 -	if [ -d "$install/usr/include" ]; then
    1.30 -		cp -a $install/usr/include $fs/usr
    1.31 -	fi
    1.32 -	
    1.33 -	# Copying pkgconfig dir if exists
    1.34 -	if [ -d "$install/usr/lib/pkgconfig" ]; then
    1.35 -		test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
    1.36 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.37 -	fi
    1.38 -	
    1.39  	# Do not copy static libs, as they are all part of binutils
    1.40  	# binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
    1.41  	# Copying static libs if exists
    1.42 @@ -34,4 +22,7 @@
    1.43  	#	test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    1.44  	#	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.45  	#fi
    1.46 +
    1.47 +	cook_copy_folders	include
    1.48 +	cook_copy_folders	pkgconfig
    1.49  }