wok-6.x annotate gdb-dev/receipt @ rev 3063

Up: libsigc++ (2.2.3)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:38:45 2009 +0200 (2009-05-13)
parents
children b4f95537c976
rev   line source
erjo@1727 1 # SliTaz package receipt."
erjo@1727 2
erjo@1727 3 PACKAGE="gdb-dev"
erjo@1727 4 VERSION="6.8"
erjo@1727 5 CATEGORY="development"
erjo@1727 6 SHORT_DESC="The GNU Project Debugger. dev files."
erjo@1727 7 MAINTAINER="erjo@slitaz.org"
erjo@1727 8 DEPENDS="gdb"
erjo@1727 9 WANTED="gdb"
erjo@1727 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1727 11 WEB_SITE="http://www.gnu.org/software/gdb/"
erjo@1727 12
erjo@1727 13 genpkg_rules()
erjo@1727 14 {
erjo@1727 15 mkdir -p $fs/usr
erjo@1727 16
erjo@1727 17 # Copying include dir if existes
erjo@1727 18 if [ -d "$_pkg/usr/include" ]; then
erjo@1727 19 cp -a $_pkg/usr/include $fs/usr
erjo@1727 20 fi
erjo@1727 21
erjo@1727 22 # Copying pkgconfig dir if existes
erjo@1727 23 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
erjo@1727 24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
erjo@1727 25 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
erjo@1727 26 fi
erjo@1727 27
erjo@1727 28 # Copying static libs if existes
erjo@1727 29 if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
erjo@1727 30 test -d $fs/usr/lib || mkdir -p $fs/usr/lib
erjo@1727 31 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
erjo@1727 32 fi
erjo@1727 33 }