wok view h8300-gdb-dev/receipt @ rev 6253
Up: filezilla to 3.3.4.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 14 01:28:42 2010 +0000 (2010-09-14) |
parents | |
children | be13f25e790b |
line source
1 # SliTaz package receipt."
3 PACKAGE="h8300-gdb-dev"
4 VERSION="7.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger dev files targeting the H8/300."
7 MAINTAINER="rcx@slitaz.org"
8 DEPENDS="h8300-gdb"
9 WANTED="h8300-gdb"
10 SOURCE="gdb"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
13 genpkg_rules()
14 {
15 # tazwok does not define _pkg correctly when both WANTED and SOURCE are set
16 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
18 mkdir -p $fs/usr
20 # Copying include dir if exists
21 if [ -d "$_pkg/usr/include" ]; then
22 cp -a $_pkg/usr/include $fs/usr
23 fi
25 # Copying pkgconfig dir if exists
26 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
27 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
29 fi
31 # Copying static h8300 libs only if exists
32 if ( find $_pkg/usr/lib -name "*h8300-*.*a" > /dev/null ); then
33 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*h8300-*.*a $fs/usr/lib
35 fi
36 }