wok-current view h8300-gdb/receipt @ rev 13045
pcsxr-svn: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 15 18:25:33 2012 +0200 (2012-06-15) |
parents | f71157a571d0 |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="h8300-gdb"
4 SOURCE="gdb"
5 VERSION="7.1"
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 $MAKEFLAGS &&
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 }