wok-next view ddd/receipt @ rev 21033

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 04 11:22:16 2018 +0200 (2018-11-04)
parents 8bc836234d57
children 5669e8b3be70
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="devel@slitaz.org"
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=$install 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 }