wok annotate codeblocks/receipt @ rev 18978
Up tazlito(418)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 14 14:14:36 2016 +0200 (2016-03-14) |
parents | 17e313b5b9c1 |
children | bf3436efb3ae |
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@18521 | 16 autoconf automake libtool zip gnome-icon-theme" |
pascal@14999 | 17 |
mallory@3102 | 18 # Rules to configure and make the package. |
mallory@3102 | 19 compile_rules() |
mallory@3102 | 20 { |
pascal@12652 | 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12652 | 23 |
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/bin $fs/usr |
mallory@3102 | 45 } |