wok-6.x rev 5985
gdb-dev: Update to remove files already included by binutils
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Aug 14 00:25:26 2010 +0000 (2010-08-14) |
parents | fe318641f452 |
children | f71157a571d0 |
files | gdb-dev/receipt |
line diff
1.1 --- a/gdb-dev/receipt Fri Aug 13 21:21:57 2010 +0000 1.2 +++ b/gdb-dev/receipt Sat Aug 14 00:25:26 2010 +0000 1.3 @@ -3,31 +3,32 @@ 1.4 PACKAGE="gdb-dev" 1.5 VERSION="7.1" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="The GNU Project Debugger. dev files." 1.8 +SHORT_DESC="The GNU Project Debugger dev files." 1.9 MAINTAINER="erjo@slitaz.org" 1.10 DEPENDS="gdb" 1.11 WANTED="gdb" 1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 WEB_SITE="http://www.gnu.org/software/gdb/" 1.14 1.15 genpkg_rules() 1.16 { 1.17 mkdir -p $fs/usr 1.18 1.19 - # Copying include dir if existes 1.20 + # Copying include dir if exists 1.21 if [ -d "$_pkg/usr/include" ]; then 1.22 cp -a $_pkg/usr/include $fs/usr 1.23 fi 1.24 1.25 - # Copying pkgconfig dir if existes 1.26 + # Copying pkgconfig dir if exists 1.27 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then 1.28 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 1.29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.30 fi 1.31 1.32 - # Copying static libs if existes 1.33 - if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then 1.34 - test -d $fs/usr/lib || mkdir -p $fs/usr/lib 1.35 - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.36 - fi 1.37 + # Do not copy static libs, as they are all part of binutils 1.38 + # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a 1.39 + # Copying static libs if exists 1.40 + #if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then 1.41 + # test -d $fs/usr/lib || mkdir -p $fs/usr/lib 1.42 + # cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.43 + #fi 1.44 }