wok-next view h8300-gdb/receipt @ rev 7249
Up: xorg-xtrans to 1.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 14 15:44:20 2010 +0000 (2010-11-14) |
parents | fdcef0b5e0c7 |
children | 8e4c74abdf74 |
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 -j 4 &&
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 }