wok-current view gdb-dev/receipt @ rev 18467

bash: /etc/skel/ may absent
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 03 06:23:42 2015 +0300 (2015-10-03)
parents f4c22f009037
children fc9203de5ff2
line source
1 # SliTaz package receipt."
3 PACKAGE="gdb-dev"
4 VERSION="7.7"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger dev files."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="gdb"
10 WANTED="gdb"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 HOST_ARCH="i486 arm"
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr
18 # Copying include dir if exists
19 if [ -d "$install/usr/include" ]; then
20 cp -a $install/usr/include $fs/usr
21 fi
23 # Copying pkgconfig dir if exists
24 if [ -d "$install/usr/lib/pkgconfig" ]; then
25 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
26 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
27 fi
29 # Do not copy static libs, as they are all part of binutils
30 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
31 # Copying static libs if exists
32 #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then
33 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib
34 # cp -a $install/usr/lib/*.*a $fs/usr/lib
35 #fi
36 }