wok-6.x annotate gdb/receipt @ rev 5984
gdb: upgrade to 7.1
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Aug 13 21:21:57 2010 +0000 (2010-08-13) |
parents | fdcef0b5e0c7 |
children | f3cc54360e1f |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
rcx@5984 | 4 VERSION="7.1" |
erjo@1727 | 5 CATEGORY="development" |
erjo@1727 | 6 SHORT_DESC="The GNU Project Debugger." |
erjo@1727 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2485 | 8 DEPENDS="ncurses expat glibc-dev" |
erjo@4818 | 9 BUILD_DEPENDS="ncurses-dev readline-dev" |
rcx@5984 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1727 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
rcx@5984 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@1727 | 13 |
erjo@1727 | 14 # Rules to configure and make the package. |
erjo@1727 | 15 compile_rules() |
erjo@1727 | 16 { |
erjo@1727 | 17 cd $src |
erjo@4818 | 18 ./configure --prefix=/usr \ |
erjo@4818 | 19 --with-python=no \ |
erjo@4818 | 20 --disable-werror $CONFIGURE_ARGS && \ |
pascal@5782 | 21 make -j 4 && make DESTDIR=$PWD/_pkg install |
erjo@1727 | 22 } |
erjo@1727 | 23 |
erjo@1727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1727 | 25 genpkg_rules() |
erjo@1727 | 26 { |
erjo@1727 | 27 mkdir -p $fs/usr |
erjo@1727 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@1727 | 29 } |
erjo@1727 | 30 |