wok-6.x view gdb-dev/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents a2066d3c1f8b
children f4c22f009037
line source
1 # SliTaz package receipt."
3 PACKAGE="gdb-dev"
4 VERSION="7.4.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger dev files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENCE="GPL2"
9 DEPENDS="gdb"
10 WANTED="gdb"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr
17 # Copying include dir if exists
18 if [ -d "$install/usr/include" ]; then
19 cp -a $install/usr/include $fs/usr
20 fi
22 # Copying pkgconfig dir if exists
23 if [ -d "$install/usr/lib/pkgconfig" ]; then
24 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
25 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
26 fi
28 # Do not copy static libs, as they are all part of binutils
29 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
30 # Copying static libs if exists
31 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
32 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib
33 # cp -a $install/usr/lib/*.*a $fs/usr/lib
34 #fi
35 }