blob: c8832d7801f73aeec50dd05642e4a2b89461db61 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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
# Run on:
name=gdb
version=7.4
release=1
source=(http://ftp.gnu.org/gnu/gdb/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--with-system-readline \
--with-python=/usr/bin/python2
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
case `uname -m` in
x86_64)
rm $PKG/usr/lib64/libiberty.a;;
i?86)
rm $PKG/usr/lib/libiberty.a;;
esac
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
rm $PKG/usr/share/info/dir
}
|