wok view cgdb/receipt @ rev 9099

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