wok annotate gdb/receipt @ rev 8914
gtk+: add wget in BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 17:00:32 2011 +0100 (2011-02-28) |
parents | fe318641f452 |
children | f5709a5b439d |
rev | line source |
---|---|
erjo@1727 | 1 # SliTaz package receipt. |
erjo@1727 | 2 |
erjo@1727 | 3 PACKAGE="gdb" |
slaxemulator@6345 | 4 VERSION="7.2" |
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 |