wok annotate h8300-gdb-dev/receipt @ rev 21357

updated lilo (24.0 -> 24.2)
author Hans-G?nter Theisgen
date Sun Apr 21 10:07:03 2019 +0100 (2019-04-21)
parents 448368c9da07
children 96982f54e3dc
rev   line source
rcx@5986 1 # SliTaz package receipt."
rcx@5986 2
rcx@5986 3 PACKAGE="h8300-gdb-dev"
rcx@5986 4 VERSION="7.1"
rcx@5986 5 CATEGORY="development"
rcx@5986 6 SHORT_DESC="The GNU Project Debugger dev files targeting the H8/300."
pascal@16048 7 MAINTAINER="rcx@zoominternet.net"
pascal@15215 8 LICENSE="GPL2"
rcx@5986 9 WANTED="h8300-gdb"
rcx@5986 10 SOURCE="gdb"
rcx@5986 11 WEB_SITE="http://www.gnu.org/software/gdb/"
rcx@5986 12
pascal@19774 13 DEPENDS="h8300-gdb pkg-config"
pascal@15215 14
rcx@5986 15 genpkg_rules()
rcx@5986 16 {
rcx@5986 17 mkdir -p $fs/usr
rcx@5986 18
rcx@5986 19 # Copying include dir if exists
pascal@15215 20 if [ -d "$install/usr/include" ]; then
pascal@15215 21 cp -a $install/usr/include $fs/usr
rcx@5986 22 fi
rcx@5986 23
rcx@5986 24 # Copying pkgconfig dir if exists
pascal@15215 25 if [ -d "$install/usr/lib/pkgconfig" ]; then
rcx@5986 26 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
pascal@15215 27 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
rcx@5986 28 fi
rcx@5986 29
rcx@5986 30 # Copying static h8300 libs only if exists
pascal@15215 31 if ( find $install/usr/lib -name "*h8300-*.*a" > /dev/null ); then
rcx@5986 32 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
pascal@15215 33 cp -a $install/usr/lib/*h8300-*.*a $fs/usr/lib
rcx@5986 34 fi
rcx@5986 35 }