wok-6.x view gdb/receipt @ rev 16024
spk: add to cross arch's
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 23:00:20 2014 +0100 (2014-03-06) |
parents | 754670062927 |
children | e5abf3dfdfb0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="7.4.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnu.org/software/gdb/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="ncurses expat glibc-dev"
14 BUILD_DEPENDS="ncurses-dev readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --with-python=no \
22 --disable-werror $CONFIGURE_ARGS && \
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }