wok-next view gdb-python/receipt @ rev 18956

Add python-peak-rules package; add it to python-turbogears dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 09 02:21:29 2016 +0200 (2016-03-09)
parents e5abf3dfdfb0
children eb78b866a5de
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 }