wok-current annotate gdb-dev/receipt @ rev 15471
memtest/bootloader.S: fix dos exit (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 14:28:26 2013 +0000 (2013-11-08) |
parents | 380ffe05937a |
children | e5abf3dfdfb0 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt." |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb-dev" |
slaxemulator@13079 | 4 VERSION="7.4.1" |
erjo@1727 | 5 CATEGORY="development" |
rcx@5985 | 6 SHORT_DESC="The GNU Project Debugger dev files." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
erjo@1727 | 9 DEPENDS="gdb" |
erjo@1727 | 10 WANTED="gdb" |
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 |
rcx@5985 | 17 # Copying include dir if exists |
slaxemulator@13079 | 18 if [ -d "$install/usr/include" ]; then |
slaxemulator@13079 | 19 cp -a $install/usr/include $fs/usr |
erjo@1727 | 20 fi |
erjo@1727 | 21 |
rcx@5985 | 22 # Copying pkgconfig dir if exists |
slaxemulator@13079 | 23 if [ -d "$install/usr/lib/pkgconfig" ]; then |
erjo@1727 | 24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
slaxemulator@13079 | 25 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
erjo@1727 | 26 fi |
erjo@1727 | 27 |
rcx@5985 | 28 # Do not copy static libs, as they are all part of binutils |
rcx@5985 | 29 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a |
rcx@5985 | 30 # Copying static libs if exists |
pascal@15000 | 31 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then |
rcx@5985 | 32 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
pascal@15000 | 33 # cp -a $install/usr/lib/*.*a $fs/usr/lib |
rcx@5985 | 34 #fi |
erjo@1727 | 35 } |