wok-current view cgdb/receipt @ rev 7841

Up: xorg-xrdb *DEPENDS*

remove gcc from DEPENDS,add slitaz-toolchain pkg-config to BUILD_DEPENDS
author Liu Peng <rocky@slitaz.org>
date Tue Dec 28 03:20:06 2010 +0000 (2010-12-28)
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 }