wok view codeblocks/receipt @ rev 24333

updated autoconf (2.69 -> 2.71)
author Hans-G?nter Theisgen
date Fri Jan 28 08:53:07 2022 +0100 (2022-01-28)
parents 55afe4d48ff4
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="codeblocks"
4 VERSION="17.12"
5 CATEGORY="development"
6 TAGS="IDE"
7 SHORT_DESC="An open source, cross platform, free C++ IDE."
8 MAINTAINER="stefanossofroniou542@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="http://www.codeblocks.org/"
12 TARBALL="${PACKAGE}_$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="gamin gcc49-lib-base hunspell wxWidgets"
16 BUILD_DEPENDS="autoconf automake expat-dev fontconfig-dev gamin-dev gcc49
17 gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool
18 wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lstdc++"
26 # before 10.05
27 # busybox patch -p1 -i $stuff/glib.u
29 # --with-boost=no does not work
30 # because(?) plugin NassiShneiderman/CParser needs libboost-dev
32 ./configure \
33 CC=gcc-49 \
34 CXX=g++-49 \
35 --with-boost-libdir=/usr/lib \
36 --with-contrib-plugins="all, -help" \
37 --prefix=/usr \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 mkdir -p $fs/usr/share
49 cp -a $install/usr/include $fs/usr
50 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/lib/*.*a $fs/usr/lib
53 cp -a $install/usr/lib/codeblocks $fs/usr/lib
54 cp -a $install/usr/share/codeblocks $fs/usr/share
55 cp -a $install/usr/bin $fs/usr
57 # Remove plugin that load fail error on start.
58 rm $fs/usr/lib/codeblocks/plugins/libNassiShneiderman.*
59 }