wok-stable view gdb-dev/receipt @ rev 7666

Moved Module.sysvers to Module.sysvers-modules. This is cause i think making linux-without-modules bzImage is was change that file. Removed /usr/src/linux in pre_remove function in linux-module-headers. Added /usr/src/linux soft link to post_install in linux-module-headers.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 12:59:54 2010 +0000 (2010-12-16)
parents c1b0015f3ae2
children f5709a5b439d
line source
1 # SliTaz package receipt."
3 PACKAGE="gdb-dev"
4 VERSION="7.2"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger dev files."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gdb"
9 WANTED="gdb"
10 WEB_SITE="http://www.gnu.org/software/gdb/"
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr
16 # Copying include dir if exists
17 if [ -d "$_pkg/usr/include" ]; then
18 cp -a $_pkg/usr/include $fs/usr
19 fi
21 # Copying pkgconfig dir if exists
22 if [ -d "$_pkg/usr/lib/pkgconfig" ]; then
23 test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/
24 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
25 fi
27 # Do not copy static libs, as they are all part of binutils
28 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
29 # Copying static libs if exists
30 #if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then
31 # test -d $fs/usr/lib || mkdir -p $fs/usr/lib
32 # cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
33 #fi
34 }