wok-6.x annotate gdb-dev/receipt @ rev 5950
avidemux: fix build for gcc45 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 17:01:20 2010 +0200 (2010-08-03) |
parents | 38eb7e9a9fef |
children | fe318641f452 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt." |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb-dev" |
pascal@4699 | 4 VERSION="7.0.1" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger. dev files." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1727 | 8 DEPENDS="gdb" |
erjo@1727 | 9 WANTED="gdb" |
erjo@1727 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1727 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
erjo@1727 | 12 |
erjo@1727 | 13 genpkg_rules() |
erjo@1727 | 14 { |
erjo@1727 | 15 mkdir -p $fs/usr |
erjo@1727 | 16 |
erjo@1727 | 17 # Copying include dir if existes |
erjo@1727 | 18 if [ -d "$_pkg/usr/include" ]; then |
erjo@1727 | 19 cp -a $_pkg/usr/include $fs/usr |
erjo@1727 | 20 fi |
erjo@1727 | 21 |
erjo@1727 | 22 # Copying pkgconfig dir if existes |
erjo@1727 | 23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then |
erjo@1727 | 24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
erjo@1727 | 25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
erjo@1727 | 26 fi |
erjo@1727 | 27 |
erjo@1727 | 28 # Copying static libs if existes |
erjo@1727 | 29 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then |
erjo@1727 | 30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
erjo@1727 | 31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
erjo@1727 | 32 fi |
erjo@1727 | 33 } |