wok annotate ddd/receipt @ rev 9521

Add arpwatch.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 07 08:27:54 2011 +0000 (2011-04-07)
parents 7fcfab02d91c
children 73641efed1cc
rev   line source
rcx@3342 1 # SliTaz package receipt.
rcx@3342 2
rcx@3342 3 PACKAGE="ddd"
rcx@3342 4 VERSION="3.3.12"
rcx@3342 5 CATEGORY="development"
rcx@3343 6 SHORT_DESC="GNU Data Display Debugger, a graphical front-end for command-line debuggers."
rcx@3342 7 MAINTAINER="rcx@zoominternet.net"
pascal@5000 8 DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-ng-uuid \
rcx@3343 9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
slaxemulator@8137 10 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
slaxemulator@8960 11 BUILD_DEPENDS="gawk lesstif-dev"
rcx@3342 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3342 13 WEB_SITE="http://www.gnu.org/software/ddd/"
rcx@3342 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
jozee@4934 15 TAGS="debugger"
rcx@3342 16
rcx@3342 17 # Rules to configure and make the package.
rcx@3342 18 compile_rules()
rcx@3342 19 {
rcx@3342 20 cd $src
rcx@3342 21
rcx@3342 22 # Need to include an additional header in a file to build with gcc 4.4.0
rcx@3342 23 DDD_FILE_TO_PATCH="ddd/strclass.C"
rcx@3342 24 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig &&
rcx@3342 25 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH &&
rcx@3342 26 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH &&
rcx@3342 27
rcx@3342 28 ./configure \
rcx@3342 29 --prefix=/usr \
rcx@3342 30 --infodir=/usr/share/info \
rcx@3342 31 --mandir=/usr/share/man \
rcx@3342 32 --includedir=/usr/share/include \
rcx@3342 33 $CONFIGURE_ARGS &&
rcx@3342 34 make &&
rcx@3342 35 make DESTDIR=$PWD/_pkg install
rcx@3342 36 }
rcx@3342 37
rcx@3342 38 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3342 39 genpkg_rules()
rcx@3342 40 {
rcx@3342 41 mkdir -p $fs/usr/share/$PACKAGE-$VERSION
rcx@3342 42 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
rcx@3342 43 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
rcx@3342 44 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
rcx@3342 45 cp -a $_pkg/usr/share/applications $fs/usr/share
rcx@3342 46
rcx@3342 47 mkdir -p $fs/usr/share/pixmaps
rcx@3342 48 cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps
rcx@3342 49
rcx@3342 50 cp -a $_pkg/usr/bin $fs/usr
rcx@3342 51 }
rcx@3342 52