wok-4.x view cgdb/receipt @ rev 12073

tuxtype: fix bdeps & ensure properly placed files
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 05:11:48 2012 +0100 (2012-03-09)
parents f12f31c20a9f
children
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 }