wok annotate ddd/receipt @ rev 22015

updated tcsh (6.18.01 -> 6.21.00)
author Hans-G?nter Theisgen
date Sat Oct 19 16:44:19 2019 +0100 (2019-10-19)
parents 2b9f96603415
children 71360a13cd94
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@14999 8 LICENSE="GPL3"
pascal@14999 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14999 10 WEB_SITE="http://www.gnu.org/software/ddd/"
pascal@14999 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@14999 12 TAGS="debugger"
pascal@14999 13
pankso@12481 14 DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-uuid \
rcx@3343 15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
slaxemulator@8137 16 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
slaxemulator@8960 17 BUILD_DEPENDS="gawk lesstif-dev"
rcx@3342 18
rcx@3342 19 # Rules to configure and make the package.
rcx@3342 20 compile_rules()
rcx@3342 21 {
pascal@17749 22 export LDFLAGS="$LDFLAGS -ltinfo"
rcx@3342 23
rcx@3342 24 # Need to include an additional header in a file to build with gcc 4.4.0
rcx@3342 25 DDD_FILE_TO_PATCH="ddd/strclass.C"
rcx@3342 26 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig &&
rcx@3342 27 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH &&
rcx@3342 28 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH &&
rcx@3342 29
rcx@3342 30 ./configure \
rcx@3342 31 --prefix=/usr \
rcx@3342 32 --infodir=/usr/share/info \
rcx@3342 33 --mandir=/usr/share/man \
rcx@3342 34 --includedir=/usr/share/include \
rcx@3342 35 $CONFIGURE_ARGS &&
rcx@3342 36 make &&
pascal@14999 37 make DESTDIR=$DESTDIR install
rcx@3342 38 }
rcx@3342 39
rcx@3342 40 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3342 41 genpkg_rules()
rcx@3342 42 {
rcx@3342 43 mkdir -p $fs/usr/share/$PACKAGE-$VERSION
pascal@14999 44 cp -a $install/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
pascal@14999 45 cp -a $install/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
pascal@14999 46 cp -a $install/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
pascal@14999 47 cp -a $install/usr/share/applications $fs/usr/share
rcx@3342 48
rcx@3342 49 mkdir -p $fs/usr/share/pixmaps
rcx@3342 50 cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps
rcx@3342 51
pascal@14999 52 cp -a $install/usr/bin $fs/usr
rcx@3342 53 }