wok annotate gdb/receipt @ rev 15224
gdb: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 15:13:40 2013 +0200 (2013-09-22) |
parents | 380ffe05937a |
children | dead8955c3ca |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
slaxemulator@13079 | 4 VERSION="7.4.1" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
rcx@5984 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1727 | 10 WEB_SITE="http://www.gnu.org/software/gdb/" |
rcx@5984 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@1727 | 12 |
pascal@15000 | 13 DEPENDS="ncurses expat glibc-dev" |
pascal@15000 | 14 BUILD_DEPENDS="ncurses-dev readline-dev" |
pascal@15000 | 15 |
erjo@1727 | 16 # Rules to configure and make the package. |
erjo@1727 | 17 compile_rules() |
erjo@1727 | 18 { |
erjo@1727 | 19 cd $src |
erjo@4818 | 20 ./configure --prefix=/usr \ |
erjo@4818 | 21 --with-python=no \ |
erjo@4818 | 22 --disable-werror $CONFIGURE_ARGS && \ |
pascal@15224 | 23 make $MAKEFLAGS 2>&1 | grep -v STRERROR && |
pascal@15224 | 24 make DESTDIR=$DESTDIR install |
erjo@1727 | 25 } |
erjo@1727 | 26 |
erjo@1727 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 28 genpkg_rules() |
erjo@1727 | 29 { |
erjo@1727 | 30 mkdir -p $fs/usr |
slaxemulator@13079 | 31 cp -a $install/usr/bin $fs/usr |
erjo@1727 | 32 } |
erjo@1727 | 33 |