wok rev 9915

cgdb: fix bdeps and clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 20:14:45 2011 +0200 (2011-05-17)
parents 1d4a4ba47ea1
children 2438678e931a
files cgdb/receipt
line diff
     1.1 --- a/cgdb/receipt	Tue May 17 20:12:58 2011 +0200
     1.2 +++ b/cgdb/receipt	Tue May 17 20:14:45 2011 +0200
     1.3 @@ -5,23 +5,18 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Curses interface for GDB"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="gdb ncurses readline"
     1.8 -DEPENDS="ncurses-dev readline-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://cgdb.sourceforge.net/"
    1.11  WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
    1.12  TAGS="debugger"
    1.13  
    1.14 +DEPENDS="gdb ncurses readline"
    1.15 +BUILD_DEPENDS="ncurses-dev readline-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd $src
    1.21 -	./configure \
    1.22 -		--prefix=/usr \
    1.23 -		--infodir=/usr/share/info \
    1.24 -		--mandir=/usr/share/man \
    1.25 -		$CONFIGURE_ARGS &&
    1.26 -	make && make DESTDIR=$PWD/_pkg install
    1.27 +	./configure && make && make install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.