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