wok annotate sakura/receipt @ rev 15666

Add ddumbfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 13 16:18:29 2013 +0000 (2013-12-13)
parents 5fafb0ebc7d5
children 2676fa7f0f93
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"
al@15186 12
pascal@2524 13 DEPENDS="gtk+ vte xorg-libXdamage"
devl547@13802 14 BUILD_DEPENDS="gtk+-dev vte-dev gettext cmake wget"
pankso@638 15
pankso@638 16 # Rules to configure and make the package.
pankso@638 17 compile_rules()
pankso@774 18 {
monghitri@13909 19 sed -i 's/terminal-tango.svg/terminal-tango.png/' src/sakura.c &&
slaxemulator@7422 20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
pascal@1539 21 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
erjo@4724 22 sed -i 's/-u//' CMakeLists.txt &&
erjo@4724 23 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
pascal@1539 24 make &&
al@15186 25 make DESTDIR=$DESTDIR install
pankso@638 26 }
pankso@638 27
pankso@638 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@638 29 genpkg_rules()
pankso@638 30 {
monghitri@13909 31 mkdir -p $fs/usr/share/pixmaps
al@15186 32 cp -a $install/usr/bin $fs/usr
monghitri@13909 33 cp $stuff/terminal-tango.png $fs/usr/share/pixmaps/
pankso@638 34 }
pankso@638 35