wok-current view h8300-binutils/receipt @ rev 2794
Add FLTK 2.0.x (Fast Light Tool Kit devel branch)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 28 15:37:11 2009 +0200 (2009-04-28) |
parents | |
children | c9ccc46854e4 |
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="make gcc 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 }