wok-current rev 5986

h8300-gdb: upgrade from 6.8 to 7.1
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 00:26:30 2010 +0000 (2010-08-14)
parents c1b0015f3ae2
children 8da46cc14f57
files h8300-gdb-dev/receipt h8300-gdb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/h8300-gdb-dev/receipt	Sat Aug 14 00:26:30 2010 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt."
     1.5 +
     1.6 +PACKAGE="h8300-gdb-dev"
     1.7 +VERSION="7.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The GNU Project Debugger dev files targeting the H8/300."
    1.10 +MAINTAINER="rcx@slitaz.org"
    1.11 +DEPENDS="h8300-gdb"
    1.12 +WANTED="h8300-gdb"
    1.13 +SOURCE="gdb"
    1.14 +WEB_SITE="http://www.gnu.org/software/gdb/"
    1.15 +
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	# tazwok does not define _pkg correctly when both WANTED and SOURCE are set
    1.19 +	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.20 +
    1.21 +	mkdir -p $fs/usr
    1.22 +	
    1.23 +	# Copying include dir if exists
    1.24 +	if [ -d "$_pkg/usr/include" ]; then
    1.25 +		cp -a $_pkg/usr/include $fs/usr
    1.26 +	fi
    1.27 +	
    1.28 +	# Copying pkgconfig dir if exists
    1.29 +	if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
    1.30 +		test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
    1.31 +		cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.32 +	fi
    1.33 +	
    1.34 +	# Copying static h8300 libs only if exists
    1.35 +	if ( find $_pkg/usr/lib -name "*h8300-*.*a" > /dev/null ); then
    1.36 +		test -d $fs/usr/lib || mkdir -p $fs/usr/lib
    1.37 +		cp -a $_pkg/usr/lib/*h8300-*.*a $fs/usr/lib
    1.38 +	fi
    1.39 +}
     2.1 --- a/h8300-gdb/receipt	Sat Aug 14 00:25:26 2010 +0000
     2.2 +++ b/h8300-gdb/receipt	Sat Aug 14 00:26:30 2010 +0000
     2.3 @@ -2,7 +2,7 @@
     2.4  
     2.5  PACKAGE="h8300-gdb"
     2.6  SOURCE="gdb"
     2.7 -VERSION="6.8"
     2.8 +VERSION="7.1"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The GNU Project Debugger targeting the H8/300."
    2.11  MAINTAINER="rcx@zoominternet.net"