wok-stable view ddd/receipt @ rev 12322

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