wok-stable annotate h8300-binutils/receipt @ rev 4902

Typo in tazbb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 11 17:28:21 2010 +0100 (2010-02-11)
parents 3ecbb6f5aa64
children fdcef0b5e0c7
rev   line source
pascal@2176 1 # SliTaz package receipt.
pascal@2176 2
pascal@2176 3 PACKAGE="h8300-binutils"
pascal@2176 4 SOURCE="binutils"
pascal@2176 5 VERSION="2.16.1"
pascal@2176 6 CATEGORY="development"
rcx@4034 7 SHORT_DESC="binutils targeting the H8/300."
pascal@2176 8 MAINTAINER="rcx@zoominternet.net"
pascal@2176 9 DEPENDS=""
rcx@3290 10 BUILD_DEPENDS="slitaz-toolchain bison flex"
pascal@2176 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2176 12 WEB_SITE="http://www.gnu.org/software/binutils/"
pascal@2176 13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
pascal@2176 14
rcx@4034 15 # Configuration only needs included if we're in the build/wok environment
rcx@4034 16 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
rcx@4034 17 . $WOK/h8300-toolchain/stuff/h8300.conf
rcx@4034 18 fi
rcx@4034 19
pascal@2176 20 # Rules to configure and make the package.
pascal@2176 21 compile_rules()
pascal@2176 22 {
pascal@2176 23 cd $src
pascal@2176 24 ./configure \
rcx@4034 25 --target=$H8300_TARGET \
pascal@2176 26 --prefix=/usr \
pascal@2176 27 --disable-nls \
pascal@2176 28 --infodir=/usr/share/info \
pascal@2176 29 --mandir=/usr/share/man \
pascal@2176 30 $CONFIGURE_ARGS &&
pascal@2176 31 make &&
rcx@4034 32 make DESTDIR=$src/_pkg install
pascal@2176 33 }
pascal@2176 34
pascal@2176 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2176 36 genpkg_rules()
pascal@2176 37 {
rcx@4034 38 mkdir -p $fs/usr $fs$H8300_ROOT
pascal@2176 39 cp -a $_pkg/usr/bin $fs/usr
rcx@4034 40 cp -a $_pkg/usr/$H8300_TARGET/* $fs$H8300_ROOT
pascal@2176 41 # do not need to copy lib/libiberty.a
rcx@4034 42
rcx@4034 43 strip -s $fs$H8300_ROOT/bin/*
pascal@2176 44 }