wok-next annotate h8300-gdb-dev/receipt @ rev 15936
UP: soprano (2.8.0) and fix build depends
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:27:57 2014 +0100 (2014-02-22) |
parents | be13f25e790b |
children | 448368c9da07 |
rev | line source |
---|---|
rcx@5986 | 1 # SliTaz package receipt." |
rcx@5986 | 2 |
rcx@5986 | 3 PACKAGE="h8300-gdb-dev" |
rcx@5986 | 4 VERSION="7.1" |
rcx@5986 | 5 CATEGORY="development" |
rcx@5986 | 6 SHORT_DESC="The GNU Project Debugger dev files targeting the H8/300." |
rcx@5986 | 7 MAINTAINER="rcx@slitaz.org" |
pascal@15215 | 8 LICENSE="GPL2" |
rcx@5986 | 9 WANTED="h8300-gdb" |
rcx@5986 | 10 SOURCE="gdb" |
rcx@5986 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
rcx@5986 | 12 |
pascal@15215 | 13 DEPENDS="h8300-gdb" |
pascal@15215 | 14 |
rcx@5986 | 15 genpkg_rules() |
rcx@5986 | 16 { |
rcx@5986 | 17 mkdir -p $fs/usr |
rcx@5986 | 18 |
rcx@5986 | 19 # Copying include dir if exists |
pascal@15215 | 20 if [ -d "$install/usr/include" ]; then |
pascal@15215 | 21 cp -a $install/usr/include $fs/usr |
rcx@5986 | 22 fi |
rcx@5986 | 23 |
rcx@5986 | 24 # Copying pkgconfig dir if exists |
pascal@15215 | 25 if [ -d "$install/usr/lib/pkgconfig" ]; then |
rcx@5986 | 26 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
pascal@15215 | 27 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
rcx@5986 | 28 fi |
rcx@5986 | 29 |
rcx@5986 | 30 # Copying static h8300 libs only if exists |
pascal@15215 | 31 if ( find $install/usr/lib -name "*h8300-*.*a" > /dev/null ); then |
rcx@5986 | 32 test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
pascal@15215 | 33 cp -a $install/usr/lib/*h8300-*.*a $fs/usr/lib |
rcx@5986 | 34 fi |
rcx@5986 | 35 } |