wok-stable annotate h8300-gdb-dev/receipt @ rev 10547
libdvdread: Fixed TARBALL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 14:19:45 2011 +0000 (2011-05-25) |
parents | f71157a571d0 |
children |
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" |
rcx@5986 | 8 DEPENDS="h8300-gdb" |
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 |
rcx@5986 | 13 genpkg_rules() |
rcx@5986 | 14 { |
rcx@5986 | 15 mkdir -p $fs/usr |
rcx@5986 | 16 |
rcx@5986 | 17 # Copying include dir if exists |
rcx@5986 | 18 if [ -d "$_pkg/usr/include" ]; then |
rcx@5986 | 19 cp -a $_pkg/usr/include $fs/usr |
rcx@5986 | 20 fi |
rcx@5986 | 21 |
rcx@5986 | 22 # Copying pkgconfig dir if exists |
rcx@5986 | 23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then |
rcx@5986 | 24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ |
rcx@5986 | 25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
rcx@5986 | 26 fi |
rcx@5986 | 27 |
rcx@5986 | 28 # Copying static h8300 libs only if exists |
rcx@5986 | 29 if ( find $_pkg/usr/lib -name "*h8300-*.*a" > /dev/null ); then |
rcx@5986 | 30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib |
rcx@5986 | 31 cp -a $_pkg/usr/lib/*h8300-*.*a $fs/usr/lib |
rcx@5986 | 32 fi |
rcx@5986 | 33 } |