wok-6.x view h8300-gdb-dev/receipt @ rev 19352

Up ncdu (1.11)
author Paul Issott <paul@slitaz.org>
date Sun Jul 24 19:13:10 2016 +0100 (2016-07-24)
parents 7bb096863642
children fc9203de5ff2
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 }