wok annotate codeblocks/receipt @ rev 17178

Add rinetd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 26 18:33:13 2014 +0200 (2014-09-26)
parents b50cda93acd2
children 533c0cab6960
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
pascal@14999 14 DEPENDS="wxWidgets"
pascal@14999 15 BUILD_DEPENDS="wxWidgets-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev autoconf automake libtool zip gnome-icon-theme"
pascal@14999 16
mallory@3102 17 # Rules to configure and make the package.
mallory@3102 18 compile_rules()
mallory@3102 19 {
pascal@12652 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12652 21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pascal@12652 22
mallory@3102 23 cd $src
slaxemulator@8751 24 busybox patch -p1 -i $stuff/glib.u
mallory@3102 25 ./configure \
mallory@3102 26 --with-contrib-plugins="all, -help" \
mallory@3102 27 --prefix=/usr \
mallory@3102 28 $CONFIGURE_ARGS &&
gokhlayeh@11574 29 make $MAKEFLAGS &&
slaxemulator@8751 30 make DESTDIR=$DESTDIR install
mallory@3102 31 }
mallory@3102 32
mallory@3102 33 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3102 34 genpkg_rules()
mallory@3102 35 {
mallory@3102 36 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14999 37 cp -a $install/usr/include $fs/usr
pascal@14999 38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pascal@14999 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14999 40 cp -a $install/usr/lib/*.*a $fs/usr/lib
pascal@14999 41 cp -a $install/usr/lib/codeblocks $fs/usr/lib
pascal@14999 42 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
pascal@14999 43 cp -a $install/usr/share/codeblocks $fs/usr/share
pascal@14999 44 cp -a $install/usr/share/mime $fs/usr/share
pascal@14999 45 cp -a $install/usr/bin $fs/usr
mallory@3102 46 }