wok annotate gdb-python/receipt @ rev 4819

Add gdb-python.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jan 20 00:58:00 2010 +0100 (2010-01-20)
parents
children e86b9962572a
rev   line source
erjo@4819 1 # SliTaz package receipt.
erjo@4819 2
erjo@4819 3 PACKAGE="gdb-python"
erjo@4819 4 VERSION="7.0.1"
erjo@4819 5 CATEGORY="development"
erjo@4819 6 SHORT_DESC="The GNU Project Debugger with Python support."
erjo@4819 7 MAINTAINER="erjo@slitaz.org"
erjo@4819 8 DEPENDS="ncurses expat glibc-dev python"
erjo@4819 9 BUILD_DEPENDS="ncurses-dev python-dev"
erjo@4819 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4819 11 WEB_SITE="http://www.gnu.org/software/gdb/"
erjo@4819 12 WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL"
erjo@4819 13 PROVIDE="gdb"
erjo@4819 14
erjo@4819 15 # Rules to configure and make the package.
erjo@4819 16 compile_rules()
erjo@4819 17 {
erjo@4819 18 cd $src
erjo@4819 19 ./configure --prefix=/usr \
erjo@4819 20 --disable-werror $CONFIGURE_ARGS && \
erjo@4819 21 make && make DESTDIR=$PWD/_pkg install
erjo@4819 22 }
erjo@4819 23
erjo@4819 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4819 25 genpkg_rules()
erjo@4819 26 {
erjo@4819 27 mkdir -p $fs/usr
erjo@4819 28 cp -a $_pkg/usr/bin $fs/usr
erjo@4819 29 }
erjo@4819 30