wok-6.x annotate cgdb/receipt @ rev 4817
Add: cgdb. Curses GDB.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jan 19 01:22:07 2010 +0100 (2010-01-19) |
parents | |
children | f7e96b8e3444 |
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" |
erjo@4817 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4817 | 10 WEB_SITE="http://cgdb.sourceforge.net/" |
erjo@4817 | 11 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL" |
erjo@4817 | 12 |
erjo@4817 | 13 # Rules to configure and make the package. |
erjo@4817 | 14 compile_rules() |
erjo@4817 | 15 { |
erjo@4817 | 16 cd $src |
erjo@4817 | 17 ./configure \ |
erjo@4817 | 18 --prefix=/usr \ |
erjo@4817 | 19 --infodir=/usr/share/info \ |
erjo@4817 | 20 --mandir=/usr/share/man \ |
erjo@4817 | 21 $CONFIGURE_ARGS && |
erjo@4817 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@4817 | 23 } |
erjo@4817 | 24 |
erjo@4817 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4817 | 26 genpkg_rules() |
erjo@4817 | 27 { |
erjo@4817 | 28 mkdir -p $fs/usr |
erjo@4817 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@4817 | 30 } |
erjo@4817 | 31 |