wok annotate gdb-dev/receipt @ rev 7229
Up: cups-pam to 1.4.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 12 01:03:19 2010 +0000 (2010-11-12) |
parents | c1b0015f3ae2 |
children | f5709a5b439d |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt." |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb-dev" |
slaxemulator@6345 | 4 VERSION="7.2" |
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 } |