wok annotate codeblocks/receipt @ rev 23131

updated lighttpd, lighttpd-modules and lighttpd-ssl (1.4.53 -> 1.4.55)
author Hans-G?nter Theisgen
date Sat Mar 14 13:38:52 2020 +0100 (2020-03-14)
parents 79b699a8a775
children fa74795599b1
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
Hans-G?nter@22609 15 DEPENDS="gamin gcc83-lib-base hunspell wxWidgets28"
Hans-G?nter@22612 16 BUILD_DEPENDS="autoconf automake expat-dev gamin-dev gcc83 gcc83-lib-base
Hans-G?nter@22612 17 gnome-icon-theme hunspell-dev libboost-dev libtool wxWidgets28-dev
Hans-G?nter@22612 18 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 \
Hans-G?nter@22609 33 CC=gcc-83 \
Hans-G?nter@22609 34 CXX=g++-83 \
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/lib/wxSmithContribItems $fs/usr/lib
Hans-G?nter@22609 55 cp -a $install/usr/share/codeblocks $fs/usr/share
Hans-G?nter@22609 56 cp -a $install/usr/bin $fs/usr
mallory@3102 57 }