wok-6.x view ddd/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | 74a6a43bf614 |
children | 7fcfab02d91c |
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 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 openmotif"
11 BUILD_DEPENDS="slitaz-toolchain gawk openmotif-dev openmotif xorg-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.gnu.org/software/ddd/"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 TAGS="debugger"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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=$PWD/_pkg 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 $_pkg/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
43 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
44 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
45 cp -a $_pkg/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 $_pkg/usr/bin $fs/usr
51 }