wok view h8300-gdb-dev/receipt @ rev 9745

Fixed binutils to work with tazwok. Need to cd $src before mkdir -p ../binutils-build. This will not chanage anything with cookutils.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 22:07:48 2011 +0000 (2011-05-09)
parents f71157a571d0
children 7bb096863642
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 mkdir -p $fs/usr
17 # Copying include dir if exists
18 if [ -d "$_pkg/usr/include" ]; then
19 cp -a $_pkg/usr/include $fs/usr
20 fi
22 # Copying pkgconfig dir if exists
23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
26 fi
28 # Copying static h8300 libs only if exists
29 if ( find $_pkg/usr/lib -name "*h8300-*.*a" > /dev/null ); then
30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*h8300-*.*a $fs/usr/lib
32 fi
33 }