wok-next view ddd/receipt @ rev 21449
updated slock (1.1 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 07:51:56 2020 +0100 (2020-05-07) |
parents | d5aab818505e |
children |
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 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 libice libsm libx11 libxau libxaw \
43 libxdmcp libxext libxmu libxpm libxt lesstif elfutils"
44 TAGS="debugger"
45 }