wok-6.x view h8300-gdb/receipt @ rev 5623
Up: minicom (2.4)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu May 27 18:39:41 2010 +0000 (2010-05-27) |
parents | c9ccc46854e4 |
children | fdcef0b5e0c7 |
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 expat"
10 BUILD_DEPENDS="slitaz-toolchain ncurses-dev expat-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gnu.org/software/gdb/"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
15 # Configuration only needs included if we're in the build/wok environment
16 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
17 . $WOK/h8300-toolchain/stuff/h8300.conf
18 fi
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir -p $SOURCE-$VERSION-build
24 cd $SOURCE-$VERSION-build
25 $src/configure \
26 --disable-werror \
27 --target=$H8300_TARGET \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$src/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $_pkg/usr/bin $fs/usr
41 }
43 # Rules to clean the package
44 clean_wok()
45 {
46 rm -r -f $SOURCE-$VERSION-build
47 }