wok-next view ddd/receipt @ rev 20826
palemoon: #5 sys/int_types.h
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Jun 14 09:56:17 2018 +0000 (2018-06-14) |
parents | 835b3b8ce6ac |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 \
7 debuggers"
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="GPL3"
10 WEB_SITE="http://www.gnu.org/software/ddd/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gawk lesstif-dev xorg-libXt-dev"
17 compile_rules() {
18 # Need to include an additional header in a file to build with gcc 4.4.0
19 DDD_FILE_TO_PATCH="ddd/strclass.C"
20 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig
21 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH
22 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH
24 ./configure \
25 --includedir=/usr/share/include \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make DESTDIR=$DESTDIR install || return 1
31 install -Dm644 $src/icons/ddd.xpm $install/usr/share/pixmaps/ddd.xpm
33 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
34 mkdir -p $docdir
35 mv $install/usr/share/$PACKAGE-$VERSION/COPYING $docdir
36 mv $install/usr/share/$PACKAGE-$VERSION/NEWS $docdir
37 }
39 genpkg_rules() {
40 copy @std
41 DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-uuid \
42 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
43 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
44 TAGS="debugger"
45 }