wok-current view codeblocks/receipt @ rev 23244

updated ninja (1.9.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Wed Mar 25 10:19:28 2020 +0100 (2020-03-25)
parents 79b699a8a775
children fa74795599b1
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 gcc83-lib-base hunspell wxWidgets28"
16 BUILD_DEPENDS="autoconf automake expat-dev gamin-dev gcc83 gcc83-lib-base
17 gnome-icon-theme hunspell-dev libboost-dev libtool wxWidgets28-dev
18 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-83 \
34 CXX=g++-83 \
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/lib/wxSmithContribItems $fs/usr/lib
55 cp -a $install/usr/share/codeblocks $fs/usr/share
56 cp -a $install/usr/bin $fs/usr
57 }