wok rev 22609

updated codeblocks (10.05 -> 17.12)
author Hans-G?nter Theisgen
date Fri Jan 10 09:38:42 2020 +0100 (20 months ago)
parents 466f9b8e7e27
children 79b699a8a775
files codeblocks/receipt
line diff
     1.1 --- a/codeblocks/receipt	Thu Jan 09 17:57:27 2020 +0100
     1.2 +++ b/codeblocks/receipt	Fri Jan 10 09:38:42 2020 +0100
     1.3 @@ -1,30 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="codeblocks"
     1.7 -VERSION="10.05"
     1.8 +VERSION="17.12"
     1.9  CATEGORY="development"
    1.10 +TAGS="IDE"
    1.11  SHORT_DESC="An open source, cross platform, free C++ IDE."
    1.12  MAINTAINER="stefanossofroniou542@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 -TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    1.15  WEB_SITE="http://www.codeblocks.org/"
    1.16 -WGET_URL="http://download.berlios.de/codeblocks/$TARBALL"
    1.17 -TAGS="IDE"
    1.18  
    1.19 -DEPENDS="wxWidgets28"
    1.20 -BUILD_DEPENDS="wxWidgets28-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev \
    1.21 -autoconf automake libtool zip gnome-icon-theme"
    1.22 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    1.23 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.24 +
    1.25 +DEPENDS="gamin gcc83-lib-base hunspell wxWidgets28"
    1.26 +BUILD_DEPENDS="autoconf automake  expat-dev gamin-dev gcc83 gnome-icon-theme 
    1.27 +	hunspell-dev libboost-dev libtool wxWidgets28-dev xorg-libXau-dev 
    1.28 +	xorg-libXdmcp-dev zip"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    1.34  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.35 -	
    1.36 -	busybox patch -p1 -i $stuff/glib.u
    1.37 -	./configure \
    1.38 -		--with-contrib-plugins="all, -help" \
    1.39 -		--prefix=/usr \
    1.40 +
    1.41 +	# before 10.05
    1.42 +#	busybox patch -p1 -i $stuff/glib.u
    1.43 +
    1.44 +	#	--with-boost=no		does not work
    1.45 +	#	because(?) plugin NassiShneiderman/CParser needs libboost-dev
    1.46 +
    1.47 +	./configure					\
    1.48 +		CC=gcc-83				\
    1.49 +		CXX=g++-83				\
    1.50 +		--with-boost-libdir=/usr/lib		\
    1.51 +		--with-contrib-plugins="all, -help"	\
    1.52 +		--prefix=/usr				\
    1.53  		$CONFIGURE_ARGS &&
    1.54  	make $MAKEFLAGS &&
    1.55  	make DESTDIR=$DESTDIR install
    1.56 @@ -33,13 +43,15 @@
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58  genpkg_rules()
    1.59  {
    1.60 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.61 -	cp -a $install/usr/include $fs/usr
    1.62 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.63 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.64 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.65 -	cp -a $install/usr/lib/codeblocks $fs/usr/lib
    1.66 -	cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
    1.67 -	cp -a $install/usr/share/codeblocks $fs/usr/share
    1.68 -	cp -a $install/usr/bin $fs/usr
    1.69 +	mkdir -p $fs/usr/lib
    1.70 +	mkdir -p $fs/usr/share
    1.71 +
    1.72 +	cp -a $install/usr/include		$fs/usr
    1.73 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.74 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.75 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.76 +	cp -a $install/usr/lib/codeblocks	$fs/usr/lib
    1.77 +#	cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
    1.78 +	cp -a $install/usr/share/codeblocks	$fs/usr/share
    1.79 +	cp -a $install/usr/bin			$fs/usr
    1.80  }