wok-next view h8300-binutils/receipt @ rev 7457
Added /usr/include to libass-dev. Added freetype-dev to libass build-depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 14:02:45 2010 +0000 (2010-11-30) |
parents | 57411a44bf69 |
children | d1768332cee0 |
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 DEPENDS=""
10 BUILD_DEPENDS="slitaz-toolchain bison flex"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnu.org/software/binutils/"
13 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
15 # Configuration only needs included if we're in the build/wok environment
16 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
17 . $WOK/h8300-toolchain/stuff/h8300.conf
18 fi
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --target=$H8300_TARGET \
26 --prefix=/usr \
27 --disable-nls \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 4 &&
32 make DESTDIR=$src/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs$H8300_ROOT
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/$H8300_TARGET/* $fs$H8300_ROOT
41 # do not need to copy lib/libiberty.a
43 strip -s $fs$H8300_ROOT/bin/*
44 }