wok view ddd/receipt @ rev 16942
cairo-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 09:47:38 2014 +0200 (2014-07-24) |
parents | 73641efed1cc |
children | e84c7a387287 |
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 cd $src
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 }