wok-4.x diff h8300-gdb/receipt @ rev 2292

slitaz-tools*: update receipt to include new WifiBox and Tazhw
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 22 22:22:14 2009 +0100 (2009-02-22)
parents
children 8ca23e8fc082
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/h8300-gdb/receipt	Sun Feb 22 22:22:14 2009 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="h8300-gdb"
     1.7 +SOURCE="gdb"
     1.8 +VERSION="6.8"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="The GNU Project Debugger targeting the H8/300."
    1.11 +MAINTAINER="rcx@zoominternet.net"
    1.12 +DEPENDS="ncurses"
    1.13 +BUILD_DEPENDS="ncurses-dev"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.gnu.org/software/gdb/"
    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 +	mkdir -p $src-build
    1.22 +	cd $src-build
    1.23 +	$src/configure \
    1.24 +		--target=h8300-hitachi-hms \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$src/_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 +}
    1.39 +