wok-next annotate gdb-dev/receipt @ rev 13079
Up: gdb to 7.4.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 25 08:55:14 2012 +0000 (2012-06-25) |
parents | f5709a5b439d |
children | 380ffe05937a |
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" |
erjo@1727 | 8 DEPENDS="gdb" |
erjo@1727 | 9 WANTED="gdb" |
erjo@1727 | 10 WEB_SITE="http://www.gnu.org/software/gdb/" |
erjo@1727 | 11 |
erjo@1727 | 12 genpkg_rules() |
erjo@1727 | 13 { |
erjo@1727 | 14 mkdir -p $fs/usr |
erjo@1727 | 15 |
rcx@5985 | 16 # Copying include dir if exists |
slaxemulator@13079 | 17 if [ -d "$install/usr/include" ]; then |
slaxemulator@13079 | 18 cp -a $install/usr/include $fs/usr |
erjo@1727 | 19 fi |
erjo@1727 | 20 |
rcx@5985 | 21 # Copying pkgconfig dir if exists |
slaxemulator@13079 | 22 if [ -d "$install/usr/lib/pkgconfig" ]; then |
erjo@1727 | 23 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
slaxemulator@13079 | 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
erjo@1727 | 25 fi |
erjo@1727 | 26 |
rcx@5985 | 27 # Do not copy static libs, as they are all part of binutils |
rcx@5985 | 28 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a |
rcx@5985 | 29 # Copying static libs if exists |
rcx@5985 | 30 #if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then |
rcx@5985 | 31 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
rcx@5985 | 32 # cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
rcx@5985 | 33 #fi |
erjo@1727 | 34 } |