wok-next annotate codeblocks/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | affba9aecc73 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
mallory@3102 | 1 # SliTaz package receipt. |
mallory@3102 | 2 |
mallory@3102 | 3 PACKAGE="codeblocks" |
slaxemulator@7561 | 4 VERSION="10.05" |
mallory@3102 | 5 CATEGORY="development" |
mallory@3102 | 6 SHORT_DESC="An open source, cross platform, free C++ IDE." |
mallory@3102 | 7 MAINTAINER="stefanossofroniou542@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
mallory@3102 | 9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
mallory@3102 | 10 WEB_SITE="http://www.codeblocks.org/" |
mallory@3102 | 11 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL" |
jozee@4933 | 12 TAGS="IDE" |
mallory@3102 | 13 |
al@18521 | 14 DEPENDS="wxWidgets28" |
al@18521 | 15 BUILD_DEPENDS="wxWidgets28-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev \ |
al@20244 | 16 autoconf automake libtool zip gnome-icon-theme hunspell-dev gamin-dev \ |
al@20244 | 17 libboost-dev" |
pascal@14999 | 18 |
mallory@3102 | 19 # Rules to configure and make the package. |
mallory@3102 | 20 compile_rules() |
mallory@3102 | 21 { |
pascal@12652 | 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12652 | 24 |
slaxemulator@8751 | 25 busybox patch -p1 -i $stuff/glib.u |
mallory@3102 | 26 ./configure \ |
mallory@3102 | 27 --with-contrib-plugins="all, -help" \ |
mallory@3102 | 28 --prefix=/usr \ |
mallory@3102 | 29 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
slaxemulator@8751 | 31 make DESTDIR=$DESTDIR install |
mallory@3102 | 32 } |
mallory@3102 | 33 |
mallory@3102 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3102 | 35 genpkg_rules() |
mallory@3102 | 36 { |
mallory@3102 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14999 | 38 cp -a $install/usr/include $fs/usr |
pascal@14999 | 39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@14999 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14999 | 41 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pascal@14999 | 42 cp -a $install/usr/lib/codeblocks $fs/usr/lib |
pascal@14999 | 43 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib |
pascal@14999 | 44 cp -a $install/usr/share/codeblocks $fs/usr/share |
pascal@14999 | 45 cp -a $install/usr/bin $fs/usr |
mallory@3102 | 46 } |