wok view h8300-gdb/receipt @ rev 2425

x11vnc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 11:38:18 2009 +0000 (2009-03-11)
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 }