wok-next view h8300-gdb/receipt @ rev 19204
linld/tobzimage: add realmode_switch support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 20:26:42 2016 +0200 (2016-06-11) |
parents | 75d89e79170f |
children | b111af75e9ad |
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 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/gdb/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="ncurses expat"
15 BUILD_DEPENDS="slitaz-toolchain ncurses-dev expat-dev"
17 # Configuration only needs included if we're in the build/wok environment
18 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
19 . $WOK/h8300-toolchain/stuff/h8300.conf
20 fi
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $SOURCE-$VERSION-build
26 cd $SOURCE-$VERSION-build
27 $src/configure \
28 --disable-werror \
29 --target=$H8300_TARGET \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }
45 # Rules to clean the package
46 clean_wok()
47 {
48 rm -r -f $SOURCE-$VERSION-build
49 }