wok view gdb-python/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | e5abf3dfdfb0 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb-python"
4 VERSION="7.7"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger with Python support."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="gdb"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
13 PROVIDE="gdb"
15 DEPENDS="ncurses expat glibc-dev python"
16 BUILD_DEPENDS="ncurses-dev python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-werror \
23 $CONFIGURE_ARGS &&
24 make $MAKEFLAGS && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share/gdb $fs/usr/share
34 }