wok view gdb-dev/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
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 }