wok-6.x annotate ddd/receipt @ rev 4052
Removed libuuid and update DEPENDS for all afected pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 09 21:42:10 2009 +0200 (2009-09-09) |
parents | 304cde9af058 |
children | 74a6a43bf614 |
rev | line source |
---|---|
rcx@3342 | 1 # SliTaz package receipt. |
rcx@3342 | 2 |
rcx@3342 | 3 PACKAGE="ddd" |
rcx@3342 | 4 VERSION="3.3.12" |
rcx@3342 | 5 CATEGORY="development" |
rcx@3343 | 6 SHORT_DESC="GNU Data Display Debugger, a graphical front-end for command-line debuggers." |
rcx@3342 | 7 MAINTAINER="rcx@zoominternet.net" |
pankso@4052 | 8 DEPENDS="glibc-base gcc-lib-base ncurses freetype lesstif zlib util-linux-ng-uuid \ |
rcx@3343 | 9 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \ |
rcx@3343 | 10 xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt" |
rcx@3342 | 11 BUILD_DEPENDS="slitaz-toolchain gawk lesstif-dev lesstif xorg-dev" |
rcx@3342 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3342 | 13 WEB_SITE="http://www.gnu.org/software/ddd/" |
rcx@3342 | 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
rcx@3342 | 15 |
rcx@3342 | 16 # Rules to configure and make the package. |
rcx@3342 | 17 compile_rules() |
rcx@3342 | 18 { |
rcx@3342 | 19 cd $src |
rcx@3342 | 20 |
rcx@3342 | 21 # Need to include an additional header in a file to build with gcc 4.4.0 |
rcx@3342 | 22 DDD_FILE_TO_PATCH="ddd/strclass.C" |
rcx@3342 | 23 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig && |
rcx@3342 | 24 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH && |
rcx@3342 | 25 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH && |
rcx@3342 | 26 |
rcx@3342 | 27 ./configure \ |
rcx@3342 | 28 --prefix=/usr \ |
rcx@3342 | 29 --infodir=/usr/share/info \ |
rcx@3342 | 30 --mandir=/usr/share/man \ |
rcx@3342 | 31 --includedir=/usr/share/include \ |
rcx@3342 | 32 $CONFIGURE_ARGS && |
rcx@3342 | 33 make && |
rcx@3342 | 34 make DESTDIR=$PWD/_pkg install |
rcx@3342 | 35 } |
rcx@3342 | 36 |
rcx@3342 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3342 | 38 genpkg_rules() |
rcx@3342 | 39 { |
rcx@3342 | 40 mkdir -p $fs/usr/share/$PACKAGE-$VERSION |
rcx@3342 | 41 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION |
rcx@3342 | 42 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION |
rcx@3342 | 43 cp -a $_pkg/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION |
rcx@3342 | 44 cp -a $_pkg/usr/share/applications $fs/usr/share |
rcx@3342 | 45 |
rcx@3342 | 46 mkdir -p $fs/usr/share/pixmaps |
rcx@3342 | 47 cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps |
rcx@3342 | 48 |
rcx@3342 | 49 cp -a $_pkg/usr/bin $fs/usr |
rcx@3342 | 50 } |
rcx@3342 | 51 |