wok view ddd/receipt @ rev 4774
Up: get-virtualbox (1.01) - Improve vbox installer for slitaz.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 13 00:39:30 2010 +0100 (2010-01-13) |
parents | 304cde9af058 |
children | 74a6a43bf614 |
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 DEPENDS="glibc-base gcc-lib-base ncurses freetype lesstif zlib util-linux-ng-uuid \
9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
10 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt"
11 BUILD_DEPENDS="slitaz-toolchain gawk lesstif-dev lesstif xorg-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.gnu.org/software/ddd/"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Need to include an additional header in a file to build with gcc 4.4.0
22 DDD_FILE_TO_PATCH="ddd/strclass.C"
23 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig &&
24 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH &&
25 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH &&
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --includedir=/usr/share/include \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/$PACKAGE-$VERSION
41 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
42 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
43 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
44 cp -a $_pkg/usr/share/applications $fs/usr/share
46 mkdir -p $fs/usr/share/pixmaps
47 cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps
49 cp -a $_pkg/usr/bin $fs/usr
50 }