wok-6.x view h8300-binutils/receipt @ rev 4034

Fix: H8/300 cross-toolchain hierarchy
author Matthew Sheets <rcx@zoominternet.net>
date Mon Sep 07 17:14:24 2009 +0000 (2009-09-07)
parents 3ecbb6f5aa64
children fdcef0b5e0c7
line source
1 # SliTaz package receipt.
3 PACKAGE="h8300-binutils"
4 SOURCE="binutils"
5 VERSION="2.16.1"
6 CATEGORY="development"
7 SHORT_DESC="binutils targeting the H8/300."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS=""
10 BUILD_DEPENDS="slitaz-toolchain bison flex"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnu.org/software/binutils/"
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 cd $src
24 ./configure \
25 --target=$H8300_TARGET \
26 --prefix=/usr \
27 --disable-nls \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$src/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs$H8300_ROOT
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/$H8300_TARGET/* $fs$H8300_ROOT
41 # do not need to copy lib/libiberty.a
43 strip -s $fs$H8300_ROOT/bin/*
44 }