wok view ddd/receipt @ rev 25569

BootProg: fix boot16.asm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 12 21:35:09 2023 +0000 (18 months ago)
parents 71360a13cd94
children d79ed38ace18
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 WGET_URL="https://fossies.org/linux/misc/old/$TARBALL"
13 TAGS="debugger"
15 DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-uuid \
16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
17 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
18 BUILD_DEPENDS="gawk lesstif-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $GNU_MIRROR/$PACKAGE/ 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 export LDFLAGS="$LDFLAGS -ltinfo"
32 # Need to include an additional header in a file to build with gcc 4.4.0
33 DDD_FILE_TO_PATCH="ddd/strclass.C"
34 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig &&
35 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH &&
36 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH &&
38 ./configure \
39 --prefix=/usr \
40 --infodir=/usr/share/info \
41 --mandir=/usr/share/man \
42 --includedir=/usr/share/include \
43 $CONFIGURE_ARGS &&
44 make &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share/$PACKAGE-$VERSION
52 cp -a $install/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
53 cp -a $install/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
54 cp -a $install/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
55 cp -a $install/usr/share/applications $fs/usr/share
57 mkdir -p $fs/usr/share/pixmaps
58 cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps
60 cp -a $install/usr/bin $fs/usr
61 }