# HG changeset patch # User Matthew Sheets # Date 1281745526 0 # Node ID c1b0015f3ae232ae232fea7c46f2f6cec831ba2c # Parent fe318641f452e9357631924739a0793c55612e45 gdb-dev: Update to remove files already included by binutils diff -r fe318641f452 -r c1b0015f3ae2 gdb-dev/receipt --- a/gdb-dev/receipt Fri Aug 13 21:21:57 2010 +0000 +++ b/gdb-dev/receipt Sat Aug 14 00:25:26 2010 +0000 @@ -3,31 +3,32 @@ PACKAGE="gdb-dev" VERSION="7.1" CATEGORY="development" -SHORT_DESC="The GNU Project Debugger. dev files." +SHORT_DESC="The GNU Project Debugger dev files." MAINTAINER="erjo@slitaz.org" DEPENDS="gdb" WANTED="gdb" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/gdb/" genpkg_rules() { mkdir -p $fs/usr - # Copying include dir if existes + # Copying include dir if exists if [ -d "$_pkg/usr/include" ]; then cp -a $_pkg/usr/include $fs/usr fi - # Copying pkgconfig dir if existes + # Copying pkgconfig dir if exists if [ -d "$_pkg/usr/lib/pkgconfig" ]; then test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib fi - # Copying static libs if existes - if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then - test -d $fs/usr/lib || mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib - fi + # Do not copy static libs, as they are all part of binutils + # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a + # Copying static libs if exists + #if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then + # test -d $fs/usr/lib || mkdir -p $fs/usr/lib + # cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + #fi }