wok-next diff h8300-binutils/receipt @ rev 21723
busybox: update patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:44:52 2020 +0000 (2020-09-01) |
parents | 051931e905b0 |
children |
line diff
1.1 --- a/h8300-binutils/receipt Fri Dec 06 10:39:07 2013 +0000 1.2 +++ b/h8300-binutils/receipt Tue Sep 01 10:44:52 2020 +0000 1.3 @@ -1,28 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="h8300-binutils" 1.8 -SOURCE="binutils" 1.9 VERSION="2.16.1" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="binutils targeting the H8/300." 1.12 -MAINTAINER="rcx@zoominternet.net" 1.13 +SHORT_DESC="binutils targeting the H8/300" 1.14 +MAINTAINER="devel@slitaz.org" 1.15 LICENSE="GPL2" 1.16 +WEB_SITE="http://www.gnu.org/software/binutils/" 1.17 + 1.18 +SOURCE="binutils" 1.19 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.20 -WEB_SITE="http://www.gnu.org/software/binutils/" 1.21 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.22 -TAGS="assembler linker" 1.23 1.24 BUILD_DEPENDS="slitaz-toolchain bison flex" 1.25 1.26 # Configuration only needs included if we're in the build/wok environment 1.27 -if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then 1.28 +if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ]; then 1.29 . $WOK/h8300-toolchain/stuff/h8300.conf 1.30 fi 1.31 1.32 -# Rules to configure and make the package. 1.33 -compile_rules() 1.34 -{ 1.35 - cd $src 1.36 +compile_rules() { 1.37 ./configure \ 1.38 --target=$H8300_TARGET \ 1.39 --prefix=/usr \ 1.40 @@ -31,16 +28,15 @@ 1.41 --mandir=/usr/share/man \ 1.42 $CONFIGURE_ARGS && 1.43 make $MAKEFLAGS && 1.44 - make DESTDIR=$DESTDIR install 1.45 + make DESTDIR=$install install 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 +genpkg_rules() { 1.52 mkdir -p $fs/usr $fs$H8300_ROOT 1.53 cp -a $install/usr/bin $fs/usr 1.54 cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT 1.55 # do not need to copy lib/libiberty.a 1.56 - 1.57 + 1.58 strip -s $fs$H8300_ROOT/bin/* 1.59 + TAGS="assembler linker" 1.60 }