wok-stable diff h8300-gdb-dev/receipt @ rev 7645

Up: beautifulsoup to 3.2.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 14 08:47:17 2010 +0000 (2010-12-14)
parents
children be13f25e790b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/h8300-gdb-dev/receipt	Tue Dec 14 08:47:17 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 +}