wok-6.x view h8300-gdb-dev/receipt @ rev 23351
Up slitaz-icons-paper (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 31 10:49:33 2020 +0200 (2020-03-31) |
parents | 448368c9da07 |
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 pkg-config"
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 }