wok-next view gdb/receipt @ rev 1727

Add: gdb, gdb-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Nov 19 23:52:52 2008 +0100 (2008-11-19)
parents
children 987853b8719d
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="6.8"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 WGET_URL="http://ftp.gnu.org/gnu/gdb/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS && \
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 }