wok-next annotate ddd/receipt @ rev 21595

updated dokuwiki (2012-01-25 -> 2018-04-22c)
author Hans-G?nter Theisgen
date Wed Jun 24 13:53:45 2020 +0100 (2020-06-24)
parents d5aab818505e
children
rev   line source
al@20569 1 # SliTaz package receipt v2.
rcx@3342 2
rcx@3342 3 PACKAGE="ddd"
rcx@3342 4 VERSION="3.3.12"
rcx@3342 5 CATEGORY="development"
al@20569 6 SHORT_DESC="GNU Data Display Debugger, a graphical front-end for command-line \
al@20569 7 debuggers"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
al@20569 10 WEB_SITE="http://www.gnu.org/software/ddd/"
al@20569 11
pascal@14999 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14999 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@14999 14
al@21078 15 BUILD_DEPENDS="gawk lesstif-dev libxt-dev"
rcx@3342 16
al@20569 17 compile_rules() {
rcx@3342 18 # Need to include an additional header in a file to build with gcc 4.4.0
rcx@3342 19 DDD_FILE_TO_PATCH="ddd/strclass.C"
al@20569 20 cp -f $DDD_FILE_TO_PATCH $DDD_FILE_TO_PATCH.orig
al@20569 21 echo "#include <stdio.h>" > $DDD_FILE_TO_PATCH
al@20569 22 cat $DDD_FILE_TO_PATCH.orig >> $DDD_FILE_TO_PATCH
al@20569 23
rcx@3342 24 ./configure \
rcx@3342 25 --includedir=/usr/share/include \
al@20569 26 $CONFIGURE_ARGS &&
al@20569 27 fix libtool &&
al@20569 28 make &&
al@21020 29 make DESTDIR=$install install || return 1
al@20569 30
al@20569 31 install -Dm644 $src/icons/ddd.xpm $install/usr/share/pixmaps/ddd.xpm
al@20569 32
al@20569 33 docdir=$install/usr/share/doc/$PACKAGE-$VERSION
pascal@20571 34 mkdir -p $docdir
al@20569 35 mv $install/usr/share/$PACKAGE-$VERSION/COPYING $docdir
al@20569 36 mv $install/usr/share/$PACKAGE-$VERSION/NEWS $docdir
rcx@3342 37 }
rcx@3342 38
al@20569 39 genpkg_rules() {
al@20569 40 copy @std
al@20569 41 DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-uuid \
al@21078 42 libice libsm libx11 libxau libxaw \
al@21078 43 libxdmcp libxext libxmu libxpm libxt lesstif elfutils"
al@20569 44 TAGS="debugger"
rcx@3342 45 }