wok annotate gdb/receipt @ rev 11007
Up: gdb to 7.3.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 13 03:15:29 2011 +0000 (2011-10-13) |
parents | f3cc54360e1f |
children | 8e4c74abdf74 |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
slaxemulator@11007 | 4 VERSION="7.3.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 && \ |
slaxemulator@11007 | 21 make -j 4 && 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 |
erjo@1727 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@1727 | 29 } |
erjo@1727 | 30 |