summaryrefslogtreecommitdiffstats
path: root/extra/gdb/Pkgfile
blob: 328365e017b348465a08e20da4fc931922384df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Le Débogueur GNU (The GNU Project Debugger)
# URL: http://www.gnu.org/software/gdb/
# Maintainer: NuTyX core team
# Packager: eko2291 at gmail dot com
# Depends on: expat, python
# Run on:
name=gdb
version=7.2
release=2
source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.bz2)

build() {
cd $name-$version
    ./configure	--prefix=/usr
    make
    make DESTDIR=$PKG install
    rm $PKG/usr/share/info/bfd.info
    rm $PKG/usr/share/info/{configure.info,standards.info}
    rm $PKG/usr/include/ansidecl.h
    rm $PKG/usr/include/bfd.h
    rm $PKG/usr/include/bfdlink.h
    rm $PKG/usr/include/dis-asm.h
    rm $PKG/usr/include/symcat.h
    rm $PKG/usr/lib/libbfd.a
    rm $PKG/usr/lib/libbfd.la
    rm $PKG/usr/lib/libiberty.a
    rm $PKG/usr/lib/libopcodes.a
    rm $PKG/usr/lib/libopcodes.la
    rm $PKG/usr/share/locale/fr/LC_MESSAGES/bfd.mo
    rm $PKG/usr/share/locale/fr/LC_MESSAGES/opcodes.mo
}