wok annotate gdb/receipt @ rev 13079
Up: gdb to 7.4.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 25 08:55:14 2012 +0000 (2012-06-25) |
parents | 8e4c74abdf74 |
children | 380ffe05937a |
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@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 && \ |
gokhlayeh@11574 | 21 make $MAKEFLAGS && make DESTDIR=$DESTDIR 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 |
slaxemulator@13079 | 28 cp -a $install/usr/bin $fs/usr |
erjo@1727 | 29 } |
erjo@1727 | 30 |