wok-stable view h8300-gdb/receipt @ rev 2176
Add h8300-binutils, h8300-gcc3 and h8300-gdb (thanks Matthew)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 16:52:33 2009 +0000 (2009-02-08) |
parents | |
children | 8ca23e8fc082 |
line source
1 # SliTaz package receipt.
3 PACKAGE="h8300-gdb"
4 SOURCE="gdb"
5 VERSION="6.8"
6 CATEGORY="development"
7 SHORT_DESC="The GNU Project Debugger targeting the H8/300."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="ncurses"
10 BUILD_DEPENDS="ncurses-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gnu.org/software/gdb/"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $src-build
19 cd $src-build
20 $src/configure \
21 --target=h8300-hitachi-hms \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$src/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }