wok-6.x view gdb-python/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents dead8955c3ca
children 13835bce7189
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb-python"
4 VERSION="7.7"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Project Debugger with Python support."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="gdb"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
13 PROVIDE="gdb"
15 DEPENDS="ncurses expat glibc-dev python"
16 BUILD_DEPENDS="ncurses-dev python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-werror \
23 $CONFIGURE_ARGS &&
24 make $MAKEFLAGS && make 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 }