wok-4.x view gdb/receipt @ rev 12337

Wrote the package name in TARBALL rather than using PACKAGE to replace it - Thanks dom96
author Brenton Scott <admin@trixarian.net>
date Mon Sep 24 09:08:43 2012 +0200 (2012-09-24)
parents f5709a5b439d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gdb"
4 VERSION="7.3.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.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 $MAKEFLAGS && make DESTDIR=$DESTDIR 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 }