wok annotate gdb-dev/receipt @ rev 20912

updated fbcat (0.3 -> 0.5.1)
author Hans-G?nter Theisgen
date Thu Feb 28 14:53:30 2019 +0100 (2019-02-28)
parents e5abf3dfdfb0
children 85ce080d4127
rev   line source
erjo@1727 1 # SliTaz package receipt."
erjo@1727 2
erjo@1727 3 PACKAGE="gdb-dev"
pankso@16316 4 VERSION="7.7"
erjo@1727 5 CATEGORY="development"
rcx@5985 6 SHORT_DESC="The GNU Project Debugger dev files."
erjo@1727 7 MAINTAINER="erjo@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
erjo@1727 9 WANTED="gdb"
erjo@1727 10 WEB_SITE="http://www.gnu.org/software/gdb/"
pankso@16316 11 HOST_ARCH="i486 arm"
erjo@1727 12
pascal@19774 13 DEPENDS="gdb pkg-config"
pascal@19774 14
erjo@1727 15 genpkg_rules()
erjo@1727 16 {
erjo@1727 17 mkdir -p $fs/usr
erjo@1727 18
rcx@5985 19 # Copying include dir if exists
slaxemulator@13079 20 if [ -d "$install/usr/include" ]; then
slaxemulator@13079 21 cp -a $install/usr/include $fs/usr
erjo@1727 22 fi
erjo@1727 23
rcx@5985 24 # Copying pkgconfig dir if exists
slaxemulator@13079 25 if [ -d "$install/usr/lib/pkgconfig" ]; then
erjo@1727 26 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
slaxemulator@13079 27 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
erjo@1727 28 fi
erjo@1727 29
rcx@5985 30 # Do not copy static libs, as they are all part of binutils
rcx@5985 31 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
rcx@5985 32 # Copying static libs if exists
pascal@15000 33 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
rcx@5985 34 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib
pascal@15000 35 # cp -a $install/usr/lib/*.*a $fs/usr/lib
rcx@5985 36 #fi
erjo@1727 37 }