wok-next annotate h8300-gdb/receipt @ rev 16222
ARM add librsvg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 31 23:37:15 2014 +0200 (2014-03-31) |
parents | 75d89e79170f |
children | b111af75e9ad |
rev | line source |
---|---|
pascal@2176 | 1 # SliTaz package receipt. |
pascal@2176 | 2 |
pascal@2176 | 3 PACKAGE="h8300-gdb" |
pascal@2176 | 4 SOURCE="gdb" |
rcx@5986 | 5 VERSION="7.1" |
pascal@2176 | 6 CATEGORY="development" |
pascal@2176 | 7 SHORT_DESC="The GNU Project Debugger targeting the H8/300." |
pascal@2176 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15215 | 9 LICENSE="GPL2" |
pascal@2176 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2176 | 11 WEB_SITE="http://www.gnu.org/software/gdb/" |
pascal@2176 | 12 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
pascal@2176 | 13 |
pascal@15215 | 14 DEPENDS="ncurses expat" |
pascal@15215 | 15 BUILD_DEPENDS="slitaz-toolchain ncurses-dev expat-dev" |
pascal@15215 | 16 |
rcx@4034 | 17 # Configuration only needs included if we're in the build/wok environment |
rcx@4034 | 18 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then |
rcx@4034 | 19 . $WOK/h8300-toolchain/stuff/h8300.conf |
rcx@4034 | 20 fi |
rcx@4034 | 21 |
pascal@2176 | 22 # Rules to configure and make the package. |
pascal@2176 | 23 compile_rules() |
pascal@2176 | 24 { |
rcx@4034 | 25 mkdir -p $SOURCE-$VERSION-build |
rcx@4034 | 26 cd $SOURCE-$VERSION-build |
pascal@2176 | 27 $src/configure \ |
rcx@4034 | 28 --disable-werror \ |
rcx@4034 | 29 --target=$H8300_TARGET \ |
pascal@2176 | 30 --prefix=/usr \ |
pascal@2176 | 31 --infodir=/usr/share/info \ |
pascal@2176 | 32 --mandir=/usr/share/man \ |
pascal@2176 | 33 $CONFIGURE_ARGS && |
pascal@15265 | 34 make $MAKEFLAGS && |
pascal@15215 | 35 make DESTDIR=$DESTDIR install |
pascal@2176 | 36 } |
pascal@2176 | 37 |
pascal@2176 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2176 | 39 genpkg_rules() |
pascal@2176 | 40 { |
pascal@2176 | 41 mkdir -p $fs/usr |
pascal@15215 | 42 cp -a $install/usr/bin $fs/usr |
pascal@2176 | 43 } |
rcx@4034 | 44 |
rcx@4034 | 45 # Rules to clean the package |
rcx@4034 | 46 clean_wok() |
rcx@4034 | 47 { |
rcx@4034 | 48 rm -r -f $SOURCE-$VERSION-build |
rcx@4034 | 49 } |