wok-current annotate codeblocks/receipt @ rev 7561
Up: codeblocks to 10.05.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 08 11:34:25 2010 +0000 (2010-12-08) |
parents | 7ea88aca3c62 |
children | a251caa1f12a |
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" |
mallory@3102 | 8 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
mallory@3102 | 9 DEPENDS="wxWidgets" |
mallory@3102 | 10 BUILD_DEPENDS="wxWidgets-dev expat-dev autoconf automake libtool zip gnome-icon-theme" |
mallory@3102 | 11 WEB_SITE="http://www.codeblocks.org/" |
mallory@3102 | 12 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL" |
jozee@4933 | 13 TAGS="IDE" |
mallory@3102 | 14 |
mallory@3102 | 15 # Rules to configure and make the package. |
mallory@3102 | 16 compile_rules() |
mallory@3102 | 17 { |
slaxemulator@7561 | 18 src=$WOK/$PACKAGE/$PACKAGE-$VERSION-release |
mallory@3102 | 19 cd $src |
pascal@4317 | 20 busybox patch -p1 -i ../stuff/glib.u |
mallory@3102 | 21 ./configure \ |
mallory@3102 | 22 --with-contrib-plugins="all, -help" \ |
mallory@3102 | 23 --prefix=/usr \ |
mallory@3102 | 24 $CONFIGURE_ARGS && |
pascal@5802 | 25 make -j 4 && |
mallory@3102 | 26 make DESTDIR=$PWD/_pkg install |
mallory@3102 | 27 } |
mallory@3102 | 28 |
mallory@3102 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3102 | 30 genpkg_rules() |
mallory@3102 | 31 { |
slaxemulator@7561 | 32 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION-release/_pkg |
mallory@3102 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
mallory@3102 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@3102 | 35 cp -a $_pkg/usr/share/codeblocks $fs/usr/share |
mallory@3102 | 36 cp -a $_pkg/usr/bin $fs/usr |
mallory@3102 | 37 } |