wok view gdb-python/receipt @ rev 6616

Fixed mercurial. Need pyconfig.h for mercurial to work. So i added this to python package since pyconfig.h maybe need for more python programs. I also removed all .pyc and .pyo files from python. Removed about 4mb from python by doing that.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 20:49:19 2010 +0000 (2010-10-09)
parents e86b9962572a
children b93c62b5d9fc
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb-python"
4 VERSION="7.0.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger with Python support."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ncurses expat glibc-dev python"
9 BUILD_DEPENDS="ncurses-dev python-dev"
10 SOURCE="gdb"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gnu.org/software/gdb/"
13 WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL"
14 PROVIDE="gdb"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --disable-werror $CONFIGURE_ARGS && \
22 make -j 4 && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }