wok annotate h8300-gdb-dev/receipt @ rev 18927
Add lz5 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 15:56:04 2016 +0100 (2016-02-25) |
parents | 7bb096863642 |
children | fc9203de5ff2 |
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." |
pascal@16048 | 7 MAINTAINER="rcx@zoominternet.net" |
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 } |