wok-6.x diff h8300-binutils/receipt @ rev 2926
linux modules depends on depmod
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 07 09:37:08 2009 +0200 (2009-05-07) |
parents | |
children | c9ccc46854e4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/h8300-binutils/receipt Thu May 07 09:37:08 2009 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="h8300-binutils" 1.7 +SOURCE="binutils" 1.8 +VERSION="2.16.1" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="binutils targeting the H8/300" 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +DEPENDS="" 1.13 +BUILD_DEPENDS="make gcc bison flex" 1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.gnu.org/software/binutils/" 1.16 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure \ 1.23 + --target=h8300-hitachi-hms \ 1.24 + --prefix=/usr \ 1.25 + --disable-nls \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr 1.39 + # do not need to copy lib/libiberty.a 1.40 +}