wok-next view h8300-binutils/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 051931e905b0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="h8300-binutils"
4 VERSION="2.16.1"
5 CATEGORY="development"
6 SHORT_DESC="binutils targeting the H8/300"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/binutils/"
11 SOURCE="binutils"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
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 compile_rules() {
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=$install install
32 }
34 genpkg_rules() {
35 mkdir -p $fs/usr $fs$H8300_ROOT
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT
38 # do not need to copy lib/libiberty.a
40 strip -s $fs$H8300_ROOT/bin/*
41 TAGS="assembler linker"
42 }