wok diff h8300-gdb-dev/receipt @ rev 15599
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 13:21:20 2013 +0000 (2013-12-05) |
parents | be13f25e790b |
children | 448368c9da07 |
line diff
1.1 --- a/h8300-gdb-dev/receipt Sun Feb 20 06:53:59 2011 +0000 1.2 +++ b/h8300-gdb-dev/receipt Thu Dec 05 13:21:20 2013 +0000 1.3 @@ -5,29 +5,31 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="The GNU Project Debugger dev files targeting the H8/300." 1.6 MAINTAINER="rcx@slitaz.org" 1.7 -DEPENDS="h8300-gdb" 1.8 +LICENSE="GPL2" 1.9 WANTED="h8300-gdb" 1.10 SOURCE="gdb" 1.11 WEB_SITE="http://www.gnu.org/software/gdb/" 1.12 1.13 +DEPENDS="h8300-gdb" 1.14 + 1.15 genpkg_rules() 1.16 { 1.17 mkdir -p $fs/usr 1.18 1.19 # Copying include dir if exists 1.20 - if [ -d "$_pkg/usr/include" ]; then 1.21 - cp -a $_pkg/usr/include $fs/usr 1.22 + if [ -d "$install/usr/include" ]; then 1.23 + cp -a $install/usr/include $fs/usr 1.24 fi 1.25 1.26 # Copying pkgconfig dir if exists 1.27 - if [ -d "$_pkg/usr/lib/pkgconfig" ]; then 1.28 + if [ -d "$install/usr/lib/pkgconfig" ]; then 1.29 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 1.30 - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.31 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.32 fi 1.33 1.34 # Copying static h8300 libs only if exists 1.35 - if ( find $_pkg/usr/lib -name "*h8300-*.*a" > /dev/null ); then 1.36 + if ( find $install/usr/lib -name "*h8300-*.*a" > /dev/null ); then 1.37 test -d $fs/usr/lib || mkdir -p $fs/usr/lib 1.38 - cp -a $_pkg/usr/lib/*h8300-*.*a $fs/usr/lib 1.39 + cp -a $install/usr/lib/*h8300-*.*a $fs/usr/lib 1.40 fi 1.41 }