wok-next view ddd/receipt @ rev 20215

rsync, x11vnc, xautomation, xinput-calibrator, xlockmore: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 09:09:04 2017 +0100 (2017-11-05)
parents 466bca9334ef
children 835b3b8ce6ac
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 xorg-libXt-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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=$DESTDIR 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 $install/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
43 cp -a $install/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
44 cp -a $install/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
45 cp -a $install/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 $install/usr/bin $fs/usr
51 }