wok-6.x annotate cgdb/receipt @ rev 8488

get-xlite: unbreak download loop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 22:41:18 2011 +0100 (2011-02-08)
parents f7e96b8e3444
children 96976b961ce8
rev   line source
erjo@4817 1 # SliTaz package receipt.
erjo@4817 2
erjo@4817 3 PACKAGE="cgdb"
erjo@4817 4 VERSION="0.6.5"
erjo@4817 5 CATEGORY="development"
erjo@4817 6 SHORT_DESC="Curses interface for GDB"
erjo@4817 7 MAINTAINER="erjo@slitaz.org"
erjo@4817 8 DEPENDS="gdb ncurses readline"
pankso@5703 9 DEPENDS="ncurses-dev readline-dev"
erjo@4817 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@4817 11 WEB_SITE="http://cgdb.sourceforge.net/"
erjo@4817 12 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
jozee@4933 13 TAGS="debugger"
erjo@4817 14
erjo@4817 15 # Rules to configure and make the package.
erjo@4817 16 compile_rules()
erjo@4817 17 {
erjo@4817 18 cd $src
erjo@4817 19 ./configure \
erjo@4817 20 --prefix=/usr \
erjo@4817 21 --infodir=/usr/share/info \
erjo@4817 22 --mandir=/usr/share/man \
erjo@4817 23 $CONFIGURE_ARGS &&
erjo@4817 24 make && make DESTDIR=$PWD/_pkg install
erjo@4817 25 }
erjo@4817 26
erjo@4817 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4817 28 genpkg_rules()
erjo@4817 29 {
erjo@4817 30 mkdir -p $fs/usr
erjo@4817 31 cp -a $_pkg/usr/bin $fs/usr
erjo@4817 32 }
erjo@4817 33