wok-next view h8300-binutils/receipt @ rev 15200

squirrelmail*: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 16:41:44 2013 +0000 (2013-09-07)
parents 4c16797dce28
children ee5c8b018b62
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=$src/_pkg 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 $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/$H8300_TARGET/* $fs$H8300_ROOT
43 # do not need to copy lib/libiberty.a
45 strip -s $fs$H8300_ROOT/bin/*
46 }