wok-next annotate h8300-binutils/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | 051931e905b0 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@2176 | 2 |
pascal@2176 | 3 PACKAGE="h8300-binutils" |
pascal@2176 | 4 VERSION="2.16.1" |
pascal@2176 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="binutils targeting the H8/300" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://www.gnu.org/software/binutils/" |
al@21020 | 10 |
al@21020 | 11 SOURCE="binutils" |
pascal@2176 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@2176 | 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
pascal@2176 | 14 |
pascal@15000 | 15 BUILD_DEPENDS="slitaz-toolchain bison flex" |
pascal@15000 | 16 |
rcx@4034 | 17 # Configuration only needs included if we're in the build/wok environment |
al@21020 | 18 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ]; then |
rcx@4034 | 19 . $WOK/h8300-toolchain/stuff/h8300.conf |
rcx@4034 | 20 fi |
rcx@4034 | 21 |
al@21020 | 22 compile_rules() { |
pascal@2176 | 23 ./configure \ |
rcx@4034 | 24 --target=$H8300_TARGET \ |
pascal@2176 | 25 --prefix=/usr \ |
pascal@2176 | 26 --disable-nls \ |
pascal@2176 | 27 --infodir=/usr/share/info \ |
pascal@2176 | 28 --mandir=/usr/share/man \ |
pascal@2176 | 29 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
al@21020 | 31 make DESTDIR=$install install |
pascal@2176 | 32 } |
pascal@2176 | 33 |
al@21020 | 34 genpkg_rules() { |
rcx@4034 | 35 mkdir -p $fs/usr $fs$H8300_ROOT |
pascal@15603 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 37 cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT |
pascal@2176 | 38 # do not need to copy lib/libiberty.a |
al@21020 | 39 |
rcx@4034 | 40 strip -s $fs$H8300_ROOT/bin/* |
al@21020 | 41 TAGS="assembler linker" |
pascal@2176 | 42 } |