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