wok-stable annotate cgdb/receipt @ rev 5015
busybox: may not overload gnu utilities
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 01 13:35:34 2010 +0100 (2010-03-01) |
parents | 571262f3ad58 |
children | b5778df5cf39 |
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" |
jozee@4933 | 12 TAGS="debugger" |
erjo@4817 | 13 |
erjo@4817 | 14 # Rules to configure and make the package. |
erjo@4817 | 15 compile_rules() |
erjo@4817 | 16 { |
erjo@4817 | 17 cd $src |
erjo@4817 | 18 ./configure \ |
erjo@4817 | 19 --prefix=/usr \ |
erjo@4817 | 20 --infodir=/usr/share/info \ |
erjo@4817 | 21 --mandir=/usr/share/man \ |
erjo@4817 | 22 $CONFIGURE_ARGS && |
erjo@4817 | 23 make && make DESTDIR=$PWD/_pkg install |
erjo@4817 | 24 } |
erjo@4817 | 25 |
erjo@4817 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4817 | 27 genpkg_rules() |
erjo@4817 | 28 { |
erjo@4817 | 29 mkdir -p $fs/usr |
erjo@4817 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@4817 | 31 } |
erjo@4817 | 32 |