wok view h8300-binutils/receipt @ rev 11061

Up: openvpn to 2.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 00:30:08 2011 +0000 (2011-10-17)
parents fdcef0b5e0c7
children 8e4c74abdf74
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 -j 4 &&
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 }