wok-next view h8300-binutils/receipt @ rev 15679
lxc: add depend for linux-lxc
Add linux-lxc
Add linux-lxc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:12:42 2013 +0100 (2013-12-20) |
parents | ee5c8b018b62 |
children | d5aab818505e |
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=$DESTDIR 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 $install/usr/bin $fs/usr
42 cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT
43 # do not need to copy lib/libiberty.a
45 strip -s $fs$H8300_ROOT/bin/*
46 }