wok-next diff ddd/receipt @ rev 16424

slitaz-boot-scripts: adapt receipt to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 04:48:19 2014 +0200 (2014-04-18)
parents 73641efed1cc
children e84c7a387287
line diff
     1.1 --- a/ddd/receipt	Mon Apr 23 16:30:27 2012 +0200
     1.2 +++ b/ddd/receipt	Fri Apr 18 04:48:19 2014 +0200
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="GNU Data Display Debugger, a graphical front-end for command-line debuggers."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +LICENSE="GPL3"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 +WEB_SITE="http://www.gnu.org/software/ddd/"
    1.10 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.11 +TAGS="debugger"
    1.12 +
    1.13  DEPENDS="glibc-base gcc-lib-base ncurses freetype zlib util-linux-uuid \
    1.14  xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXaw \
    1.15  xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
    1.16  BUILD_DEPENDS="gawk lesstif-dev"
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.gnu.org/software/ddd/"
    1.19 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="debugger"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24 @@ -32,21 +34,21 @@
    1.25  		--includedir=/usr/share/include \
    1.26  		$CONFIGURE_ARGS  &&
    1.27  	make  &&
    1.28 -	make DESTDIR=$PWD/_pkg install
    1.29 +	make DESTDIR=$DESTDIR install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35  	mkdir -p $fs/usr/share/$PACKAGE-$VERSION
    1.36 -	cp -a $_pkg/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
    1.37 -	cp -a $_pkg/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
    1.38 -	cp -a $_pkg/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
    1.39 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.40 +	cp -a $install/usr/share/$PACKAGE-$VERSION/$PACKAGE $fs/usr/share/$PACKAGE-$VERSION
    1.41 +	cp -a $install/usr/share/$PACKAGE-$VERSION/themes $fs/usr/share/$PACKAGE-$VERSION
    1.42 +	cp -a $install/usr/share/$PACKAGE-$VERSION/vsllib $fs/usr/share/$PACKAGE-$VERSION
    1.43 +	cp -a $install/usr/share/applications $fs/usr/share
    1.44  	
    1.45  	mkdir -p $fs/usr/share/pixmaps
    1.46  	cp -a $src/icons/ddd.xpm $fs/usr/share/pixmaps
    1.47  
    1.48 -	cp -a $_pkg/usr/bin $fs/usr
    1.49 +	cp -a $install/usr/bin $fs/usr
    1.50  }
    1.51