wok-current annotate gdb-python/receipt @ rev 10834
childsplay: up to 1.6 and make it work!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 07 22:40:41 2011 +0200 (2011-06-07) |
parents | 00d7ce375104 |
children | 6da1a6d30bc1 |
rev | line source |
---|---|
erjo@4819 | 1 # SliTaz package receipt. |
erjo@4819 | 2 |
erjo@4819 | 3 PACKAGE="gdb-python" |
slaxemulator@9128 | 4 VERSION="7.2" |
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@4820 | 10 SOURCE="gdb" |
erjo@4820 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@4819 | 12 WEB_SITE="http://www.gnu.org/software/gdb/" |
erjo@4819 | 13 WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL" |
erjo@4819 | 14 PROVIDE="gdb" |
erjo@4819 | 15 |
erjo@4819 | 16 # Rules to configure and make the package. |
erjo@4819 | 17 compile_rules() |
erjo@4819 | 18 { |
erjo@4819 | 19 cd $src |
erjo@4819 | 20 ./configure --prefix=/usr \ |
erjo@4819 | 21 --disable-werror $CONFIGURE_ARGS && \ |
pascal@5801 | 22 make -j 4 && make DESTDIR=$PWD/_pkg install |
erjo@4819 | 23 } |
erjo@4819 | 24 |
erjo@4819 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4819 | 26 genpkg_rules() |
erjo@4819 | 27 { |
erjo@4819 | 28 mkdir -p $fs/usr |
erjo@4819 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@4819 | 30 } |
erjo@4819 | 31 |