wok-next view gdb/receipt @ rev 20555
Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 17:43:57 2018 +0300 (2018-04-06) |
parents | c3a368c0cddb |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdb"
4 VERSION="8.0.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/gdb/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev python-dev readline-dev perl-dev texinfo"
15 SPLIT="gdb-python:py gdb-dev"
17 compile_rules() {
18 case $SET in
19 '') SET_ARGS='--with-python=no';;
20 py) SET_ARGS='';;
21 esac
23 ./configure \
24 --disable-werror \
25 $SET_ARGS \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install || return 1
30 # Do not copy static libs, as they are all part of binutils;
31 # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a
32 find $install -name '*.a' -delete
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 gdb)
38 copy @std
39 DEPENDS="ncurses expat glibc-dev"
40 ;;
41 gdb-python)
42 copy @std
43 CAT="development|with Python support"
44 DEPENDS="ncurses expat glibc-dev python"
45 PROVIDE="gdb"
46 ;;
47 *-dev)
48 copy @dev
49 DEPENDS="gdb"
50 ;;
51 esac
52 }