wok view gdb/receipt @ rev 15136

puzzles: create version2.def
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 10:51:36 2013 +0000 (2013-08-15)
parents a2066d3c1f8b
children 754670062927
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 $MAKEFLAGS && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }