wok-next diff gdb-dev/receipt @ rev 4391
util-linux-ng-blkid: update depends.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Oct 15 20:56:02 2009 +0000 (2009-10-15) |
parents | |
children | b4f95537c976 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdb-dev/receipt Thu Oct 15 20:56:02 2009 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt." 1.5 + 1.6 +PACKAGE="gdb-dev" 1.7 +VERSION="6.8" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The GNU Project Debugger. dev files." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="gdb" 1.12 +WANTED="gdb" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.gnu.org/software/gdb/" 1.15 + 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr 1.19 + 1.20 + # Copying include dir if existes 1.21 + if [ -d "$_pkg/usr/include" ]; then 1.22 + cp -a $_pkg/usr/include $fs/usr 1.23 + fi 1.24 + 1.25 + # Copying pkgconfig dir if existes 1.26 + if [ -d "$_pkg/usr/lib/pkgconfig" ]; then 1.27 + test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 1.28 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.29 + fi 1.30 + 1.31 + # Copying static libs if existes 1.32 + if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then 1.33 + test -d $fs/usr/lib || mkdir -p $fs/usr/lib 1.34 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.35 + fi 1.36 +}