wok-6.x view gdb-dev/receipt @ rev 5801
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 15:49:06 2010 +0200 (2010-07-11) |
parents | 38eb7e9a9fef |
children | fe318641f452 |
line source
1 # SliTaz package receipt."
3 PACKAGE="gdb-dev"
4 VERSION="7.0.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger. dev files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gdb"
9 WANTED="gdb"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr
17 # Copying include dir if existes
18 if [ -d "$_pkg/usr/include" ]; then
19 cp -a $_pkg/usr/include $fs/usr
20 fi
22 # Copying pkgconfig dir if existes
23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
26 fi
28 # Copying static libs if existes
29 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
32 fi
33 }