wok-6.x view h8300-binutils/receipt @ rev 22807
updated get-bitcoin (1.00 -> 1.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 29 07:32:34 2020 +0100 (2020-01-29) |
parents | ee5c8b018b62 |
children | 71360a13cd94 |
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 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnu.org/software/binutils/"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
13 TAGS="assembler linker"
15 BUILD_DEPENDS="slitaz-toolchain bison flex"
17 # Configuration only needs included if we're in the build/wok environment
18 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
19 . $WOK/h8300-toolchain/stuff/h8300.conf
20 fi
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --target=$H8300_TARGET \
28 --prefix=/usr \
29 --disable-nls \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $fs$H8300_ROOT
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT
43 # do not need to copy lib/libiberty.a
45 strip -s $fs$H8300_ROOT/bin/*
46 }