wok-4.x view h8300-binutils/receipt @ rev 3738
add cclfox
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Jul 23 11:23:03 2009 +0000 (2009-07-23) |
parents | 51c6f8c526bb |
children | 3ecbb6f5aa64 |
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --target=h8300-hitachi-hms \
21 --prefix=/usr \
22 --disable-nls \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr
36 # do not need to copy lib/libiberty.a
37 }