wok-current annotate gdb-python/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | a2066d3c1f8b |
children | a065fc6a87fe |
rev | line source |
---|---|
erjo@4819 | 1 # SliTaz package receipt. |
erjo@4819 | 2 |
erjo@4819 | 3 PACKAGE="gdb-python" |
slaxemulator@13079 | 4 VERSION="7.4.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" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4820 | 9 SOURCE="gdb" |
slaxemulator@11008 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@4819 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
slaxemulator@11008 | 12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
erjo@4819 | 13 PROVIDE="gdb" |
erjo@4819 | 14 |
pascal@15000 | 15 DEPENDS="ncurses expat glibc-dev python" |
pascal@15000 | 16 BUILD_DEPENDS="ncurses-dev python-dev" |
pascal@15000 | 17 |
erjo@4819 | 18 # Rules to configure and make the package. |
erjo@4819 | 19 compile_rules() |
erjo@4819 | 20 { |
erjo@4819 | 21 cd $src |
erjo@4819 | 22 ./configure --prefix=/usr \ |
erjo@4819 | 23 --disable-werror $CONFIGURE_ARGS && \ |
gokhlayeh@11574 | 24 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
erjo@4819 | 25 } |
erjo@4819 | 26 |
erjo@4819 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4819 | 28 genpkg_rules() |
erjo@4819 | 29 { |
erjo@4819 | 30 mkdir -p $fs/usr |
slaxemulator@13079 | 31 cp -a $install/usr/bin $fs/usr |
erjo@4819 | 32 } |
erjo@4819 | 33 |