wok-6.x view cgdb/receipt @ rev 14804
slitaz-tools-boxes: get source from hg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 16 23:01:09 2013 +0200 (2013-07-16) |
parents | f12f31c20a9f |
children | eb8067417980 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cgdb.sourceforge.net/"
10 WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
11 TAGS="debugger"
12 CROSS="error: cannot check for file existence when cross compiling"
14 DEPENDS="gdb ncurses readline"
15 BUILD_DEPENDS="ncurses-dev readline-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }