wok annotate gdb-dev/receipt @ rev 17289
inkscape: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 28 14:00:13 2014 +0200 (2014-10-28) |
parents | f4c22f009037 |
children | fc9203de5ff2 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt." |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb-dev" |
pankso@16316 | 4 VERSION="7.7" |
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/" |
pankso@16316 | 12 HOST_ARCH="i486 arm" |
erjo@1727 | 13 |
erjo@1727 | 14 genpkg_rules() |
erjo@1727 | 15 { |
erjo@1727 | 16 mkdir -p $fs/usr |
erjo@1727 | 17 |
rcx@5985 | 18 # Copying include dir if exists |
slaxemulator@13079 | 19 if [ -d "$install/usr/include" ]; then |
slaxemulator@13079 | 20 cp -a $install/usr/include $fs/usr |
erjo@1727 | 21 fi |
erjo@1727 | 22 |
rcx@5985 | 23 # Copying pkgconfig dir if exists |
slaxemulator@13079 | 24 if [ -d "$install/usr/lib/pkgconfig" ]; then |
erjo@1727 | 25 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
slaxemulator@13079 | 26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
erjo@1727 | 27 fi |
erjo@1727 | 28 |
rcx@5985 | 29 # Do not copy static libs, as they are all part of binutils |
rcx@5985 | 30 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a |
rcx@5985 | 31 # Copying static libs if exists |
pascal@15000 | 32 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then |
rcx@5985 | 33 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
pascal@15000 | 34 # cp -a $install/usr/lib/*.*a $fs/usr/lib |
rcx@5985 | 35 #fi |
erjo@1727 | 36 } |