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

Up: mpfr to 3.0.0p4. Added a EXTRAVERSION since i patching it with p4 patch.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 23:13:10 2010 +0000 (2010-10-22)
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 }