wok-next view gdb/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents 35f5a5893111
children fe318641f452
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="7.0.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ncurses expat glibc-dev"
9 BUILD_DEPENDS="ncurses-dev readline-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 \
19 --with-python=no \
20 --disable-werror $CONFIGURE_ARGS && \
21 make -j 4 && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 }