wok-6.x view gdb/receipt @ rev 10042
bison: cross with CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 09:00:11 2011 +0200 (2011-05-20) |
parents | fe318641f452 |
children | f5709a5b439d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="7.2"
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.bz2"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$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 }