wok-stable annotate gdb-dev/receipt @ rev 11199
Up: libassuan to 2.0.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 03:29:30 2011 +0000 (2011-11-03) |
parents | f3cc54360e1f |
children |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt." |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb-dev" |
slaxemulator@11007 | 4 VERSION="7.3.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 |
erjo@1727 | 17 if [ -d "$_pkg/usr/include" ]; then |
erjo@1727 | 18 cp -a $_pkg/usr/include $fs/usr |
erjo@1727 | 19 fi |
erjo@1727 | 20 |
rcx@5985 | 21 # Copying pkgconfig dir if exists |
erjo@1727 | 22 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then |
erjo@1727 | 23 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
erjo@1727 | 24 cp -a $_pkg/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 } |