wok-6.x view gdb-dev/receipt @ rev 23824
Up openssh (8.3p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 13:18:28 2020 +0000 (2020-05-28) |
parents | e5abf3dfdfb0 |
children | 85ce080d4127 |
line source
1 # SliTaz package receipt."
3 PACKAGE="gdb-dev"
4 VERSION="7.7"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger dev files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="gdb"
10 WEB_SITE="http://www.gnu.org/software/gdb/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="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 # Do not copy static libs, as they are all part of binutils
31 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
32 # Copying static libs if exists
33 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
34 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib
35 # cp -a $install/usr/lib/*.*a $fs/usr/lib
36 #fi
37 }