wok-next view h8300-gdb-dev/receipt @ rev 17681

Up isomaster (1.3.13) ISO > 4.2Gb fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 20 18:41:07 2015 +0100 (2015-02-20)
parents 7bb096863642
children
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@zoominternet.net"
8 LICENSE="GPL2"
9 WANTED="h8300-gdb"
10 SOURCE="gdb"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
13 DEPENDS="h8300-gdb"
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr
19 # Copying include dir if exists
20 if [ -d "$install/usr/include" ]; then
21 cp -a $install/usr/include $fs/usr
22 fi
24 # Copying pkgconfig dir if exists
25 if [ -d "$install/usr/lib/pkgconfig" ]; then
26 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
27 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
28 fi
30 # Copying static h8300 libs only if exists
31 if ( find $install/usr/lib -name "*h8300-*.*a" > /dev/null ); then
32 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*h8300-*.*a $fs/usr/lib
34 fi
35 }