wok-current view h8300-binutils/receipt @ rev 12624
exosip: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 12:18:27 2012 +0200 (2012-04-29) |
parents | d1768332cee0 |
children | 4c16797dce28 |
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 BUILD_DEPENDS="slitaz-toolchain bison flex"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnu.org/software/binutils/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
14 # Configuration only needs included if we're in the build/wok environment
15 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
16 . $WOK/h8300-toolchain/stuff/h8300.conf
17 fi
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --target=$H8300_TARGET \
25 --prefix=/usr \
26 --disable-nls \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$src/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr $fs$H8300_ROOT
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/$H8300_TARGET/* $fs$H8300_ROOT
40 # do not need to copy lib/libiberty.a
42 strip -s $fs$H8300_ROOT/bin/*
43 }