wok view h8300-binutils/receipt @ rev 5565

esmart: fix svn url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 15:32:44 2010 +0200 (2010-05-14)
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 }