wok-6.x annotate sakura/receipt @ rev 16317

Up node and fix sakura icon
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 15:29:02 2014 +0200 (2014-04-09)
parents 2676fa7f0f93
children 838dd1108a60
rev   line source
pankso@638 1 # SliTaz package receipt
pankso@638 2
pankso@638 3 PACKAGE="sakura"
devl547@13802 4 VERSION="2.4.2"
pascal@741 5 CATEGORY="utilities"
pankso@638 6 SHORT_DESC="Lightweight GTK+/vte Terminal"
pankso@638 7 MAINTAINER="pankso@slitaz.org"
al@15186 8 LICENSE=""
al@15186 9 WEB_SITE="http://www.pleyades.net/david/projects/sakura"
al@15186 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@15186 11 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
pankso@16249 12 HOST_ARCH="i486 arm"
al@15186 13
pascal@2524 14 DEPENDS="gtk+ vte xorg-libXdamage"
pankso@16249 15 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev"
pankso@16249 16
pankso@16249 17 # Handle cross compilation.
pankso@16249 18 case "$ARCH" in
pankso@16249 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
pankso@16249 20 esac
pankso@638 21
pankso@638 22 # Rules to configure and make the package.
pankso@638 23 compile_rules()
pankso@774 24 {
monghitri@13909 25 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c &&
slaxemulator@7422 26 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
pascal@1539 27 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
erjo@4724 28 sed -i 's/-u//' CMakeLists.txt &&
erjo@4724 29 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
pascal@1539 30 make &&
al@15186 31 make DESTDIR=$DESTDIR install
pankso@638 32 }
pankso@638 33
pankso@638 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@638 35 genpkg_rules()
pankso@638 36 {
pankso@16317 37 mkdir -p $fs/usr
al@15186 38 cp -a $install/usr/bin $fs/usr
pankso@638 39 }
pankso@638 40